B4i Library [Class] Customdialog

Brian Robinson

Active Member
Licensed User
Longtime User
Hi Filippo,

Thanks for this class. I just wanted to let you know that I have extended the class for my own use so that it can have input values as well. Thought you might be interested.

I have included an example.

Cheers
Brian
 

Attachments

  • DialogExample.zip
    4.9 KB · Views: 83

Brian Robinson

Active Member
Licensed User
Longtime User
Hi Filippo,

Thanks for this class. I just wanted to let you know that I have extended the class for my own use so that it can have input values as well. Thought you might be interested.

I have included an example.

Cheers
Brian
Hi Filippo,

If you have time can you run the example i put on here. another user said it did nothing when he pressed the ok button, but works fine on the two devices I have.

Cheers.
Brian
 

little3399

Active Member
Licensed User
Longtime User
Hi,Brian Robinson

I found a strange case ,Your demo if in the debug mode can work very well ,but if in the releae mode ,it can not running , when press OK BUTTON , it can not show anythins !

 

Brian Robinson

Active Member
Licensed User
Longtime User
Hi,

Did you just run the demo, or have you made changes?

I use this code in an App in the app store and it works fine so should work in release mode.

Cheers
Brian
 

abarnett

Member
Licensed User
Longtime User
To get the buttons to fire the event in my main code (cdSearch) I had to do this;

cd.Initialize(Me,Page2,"cdSearch",pnlUser,Colors.LightGray)

cd.AddView(pnlUser, cd.width, 300)
cd.Show("Search Results", Array As String("OK"),Null)

cdDialog=cd <------------- without this cdSearch_Click does not fire

where both cd and cdDialog are dim as customdialog
 
Top