2 issues with the browse-dialog


Author
Message
Philipp Guntermann
Philipp Guntermann
StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)
Group: Forum Members
Posts: 141, Visits: 263
hi,

i got two issues with the browse dialog:

1) how do i set it up, so that instead of populating the business object with the selected search result, it would only navigate to the selected search result instead ?

2) the waitwindow message appearing while it performs the search is not localized. (appears in english)

thanks.

Replies
hector
hector
StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)
Group: StrataFrame Users
Posts: 52, Visits: 559
Hi Trent,

I am having the same difficulty for localizing the waitwindow.

The last message seems to be on 2009,

Could you please tell me if this is fixed with the new update and how can I localize it?
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Hector.

This hasn't made into the framework yet, but it certainly will.

For the time being, if you would like it to be localized, you could make a small change in the framework, as I have done.

First I created localization keys into my Message & Localization Project.  Then I added code into the BrowseDialogWindow's SetFormTextValues method, as follows:

        ''' <summary>
        ''' Sets all of the forms text values (allows for localized values to be used)
        ''' </summary>
        Private Sub SetFormTextValues()
            '-- Establish Locals
            Dim loCVT As New KeysConverter

            With _BrowseDialog
                Me.lblStatus.Text = String.Format(.EnterSearchCriteraStatusText, "[" & loCVT.ConvertToString(.SearchKey) & "]")
                Me.tsiSearch.Text = .SearchText
                Me.tsiClear.Text = .ClearText
                Me.cmdHideResults.Text = .HideResultsText
                Me.cmdSearchFields.Text = .SearchFieldsText
                Me.tscSearchFields.grpContent.Title = .SearchCriteriaText
                Me.chkAdvanced.Text = .AdvancedOptionsText
                Me.cmdOK.Text = .OKText
                Me.cmdCancel.Text = .CancelText
            End With

            '-- IGB - added on 2011/04/08 - START
            '-- localize missing text key
            Try
                MyWaitwindow.Title = MicroFour.StrataFrame.UI.Localization.RetrieveTextValue("PFNT_MSG - BrowseDialogSearchingTitle")
                MyWaitwindow.Message = MicroFour.StrataFrame.UI.Localization.RetrieveTextValue("PFNT_MSG - BrowseDialogSearchingMessage")
            Catch ex As Exception
            End Try
            '-- IGB - added on 2011/04/08 - END
        End Sub


Hope it helps. Wink
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Philipp Guntermann - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Philipp Guntermann - 16 Years Ago
Ivan George Borges - 16 Years Ago
Philipp Guntermann - 16 Years Ago
                         [quote]imo that is not an optimal solution.[/quote] OK, I guess we...
Ivan George Borges - 16 Years Ago
                             i just think it could be a small addition to the browsedialog. and i...
Philipp Guntermann - 16 Years Ago
                                 Philipp,

What you appear to want seems to be a bit more...
Greg McGuffey - 16 Years Ago
                                     Hi Greg, the first codesnippet in my post above actually does exactly...
Philipp Guntermann - 16 Years Ago
                                         Yeah, I understand. I was just trying to point out that what you are...
Greg McGuffey - 16 Years Ago
                                             This is most likely not going to hapen within this release,Philipp as...
Trent L. Taylor - 16 Years Ago
Philipp Guntermann - 16 Years Ago
             Not yet.
Trent L. Taylor - 16 Years Ago
hector - 14 Years Ago
Ivan George Borges - 14 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search