Quantcast
Channel: GSAK Forum
Viewing all articles
Browse latest Browse all 75476

Publish Logs, copy logs to user notes by Kai Team - 2013-11-27

$
0
0
QUOTE (RoadRoach58 @ November 27, 2013 12:00 pm)
Updating a dialog box based on changes in that box is not intuitively obvious to innocent lookers on. unsure.gif

FYI, there are two ways to do this, depending on what you want to change/update:

1) Update the form element variable. For example, if you had a checkbox named checkbox1, you could set it to "checked" using:

GSK
$Checkbox1=TRUE

Or, if you have a checkboxlist named CheckBoxList1 with six checkboxes named Option1....Option6:

user posted image

you would use the following to set Option1 and Option3 to true (checked):

GSK
$CheckListBox1="Option1;Option3"

And the result when the form is displayed would be:

user posted image

To check all options in this case, you would use:

GSK
$CheckListBox1="Option1;Option2;Option3;Option4;Option5;Option6"


2) The other way to update a form element using FormEdit(). For example, to dynamically change the caption of a button named Button1 in a form named Form1, you would use:

GSK
$Form1 = editform($Form1,"Button1","Caption","New Caption")

Viewing all articles
Browse latest Browse all 75476

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>