|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Sujet n° 1657 |
Popupchoice and Selectedchoice |
le 21/11/2009 @ 05:46 par Gary
|
I have used POPUPCHOICE and SELECTEDCHOICE in VisiBasic, but I would like to RsrcEdit or Bird to make my list and design the selector for the list.
My question is how do you link the list with the trigger or selector in RsrcEdit or Bird?
I defined a Popup Trigger in Bird with an ID 10 and a list with three words with an ID 20. My intentions are to select a word from the list and Update a field with and ID 30 with the selected word.
So far I can't get the list to popup when I click the selector. The list has a Usable box, but when I check it the list is always visible. I would like it to be visible only when clicked by the trigger, so I unchecked it, but now it doesn't popup.
Thanks Gary
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1 -------- le 22/11/2009 @ 22:43 par aldweb
visiteur |
Hello Gary,
All events occurring on objects defined in a custom form (meaning one designed with RsrcEdit or Bird) that are similar and which follow the same rules (ID in the range [1..999]) to those defined with the help of the iziBasic GUI statements will be captured, except for the LISTCHOICE and POPUPCHOICE ones (Popup).
You may still add Popups (Popups are made of a PopupTrigger,and an attached List) dynamically in such a form (using the LISTCHOICE and POPUPCHOICE statements), as well as any other object. Just proceed the same way as you do with any object in the main form.
One additional operation (in 3 steps) will be required for the POPUPCHOICE use which is to add: Step #1. a List resource in your custom form (one List resource only, whatever the number of POPUPCHOICEs you have in your custom form), with ID set to 1012, and unset its usable flag (all other parameters set as you wish, they will be overridden at run time) Step #2. a “fake” PopupTrigger resource, with ID set to 1011 and usable flag unset (all other parameters set as you wish, they will be overridden at run time) Step #3. a Popup resource, linking PopupTrigger 1011 and List 1012
I hope these explanations will help...
Cheers, aldweb
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2 -------- le 23/11/2009 @ 00:01 par Gary
visiteur |
Thanks Aldweb, I will give it a try, but I don't understand this one.
"Step #3. a Popup resource, linking PopupTrigger 1011 and List 1012"
How do I link them?
Thanks Gary |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 3 -------- le 02/12/2009 @ 14:26 par aldweb
visiteur |
Hello Gary,
In Bird, in your tFRM resource, here are the steps: 1. New List 2. New Control / Popup Trigger (style) 3. New Popup: requires to insert List ID and Control ID, this is what I call linking
Cheers, aldweb |
|
|
sujet actif
sujet clos
Important!
Nouveau message -
Rectifier message
Clôturer sujet
Remonter
|
|