Browsedialog


Author
Message
Fabian R Silva, -
Fabian R Silva, -
StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)
Group: StrataFrame Users
Posts: 153, Visits: 1.2K
I created a inherited browsedialog class and used it on code (not with the designer)



I use a handler:

AddHandler _BrowseDialog.BrowseDialogClosed, AddressOf _BrowseDialog_BrowseDialogClosed



and on it:

Private Sub _BrowseDialog_BrowseDialogClosed(ByVal e As System.EventArgs)

NoDebeMostrarPopup = True

txtID.Text = _InternalBusinessObject(_InternalBusinessObject.PrimaryKeyField).ToString()

PasarASiguienteControl = True

txtCodigoOrDescripcionCambiarFoco(txtCodigo)

End Sub



When I select a item on the browsedialog, all work ok but appears a messagebox, how I can avoid this message? thanks!

Attachments
BrowseDialogEnduser.jpg (89 views, 18.00 KB)
Fabian R Silva, -
Fabian R Silva, -
StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)
Group: StrataFrame Users
Posts: 153, Visits: 1.2K
I not mentioned that I'm using a 1.6.1 post release (1.6.2?) that can have this messagebox for test purposes or something else Crazy



thanks Smile
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Fabian,

I have no idea where that message is coming from, but it is not in the framework Ermm ?!?!  It sounds like you have a BrowseInfoPanel attached to a browse and may have something in the RowChanged event.  I believe that this is going to have to be in your code as this is not a function of the framework.  You might look around and do a search on this text.

Fabian R Silva, -
Fabian R Silva, -
StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)
Group: StrataFrame Users
Posts: 153, Visits: 1.2K
forgive this question, I'm have to drink more cofee and not work without breath w00t sorry I put the code

If _BrowseDialog.ShowDialog() = System.Windows.Forms.DialogResult.OK Then

MsgBox("The end-user searched and retrieved one or more records.")

Else

MsgBox("The end-user cancelled the browse.")

End If



like the example and when I used find & replace my Visual studio don't found nothing :/



Thanks again and sorry for not search it twice before post something dumb Blush
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
... to drink more cofee and not work without breath

Hey Fabian.

They are making you work withouth breathing? Sick

And you have accomplished that? Hehe

Anyway, when you search in VS, have you noticed the "Look in:"  and "Find options" in the "Find and Replace" dialog? That might be the reason why you haven't found your message. Just a guess, sorry if you were aware of this already.

Abraços.

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
LOL...don't worry about it...I was just scratching my head wondering if we had added some message box during a test or something Smile
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search