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

Combobox? to choose getmail settings by hynr - 2013-07-23

$
0
0
You are getting close, but the assignment to the combobox's Values property is best made with the Editform() function as your macro runs and before the form displays. Here is an example: Assuming in $Form you have as you indicated above:
CODE
Name = Choosefilter
Type = Combobox
Enabled = Yes
Height = 21
Left = 200
Top = 56
Values =
Width = 145
Taborder = 10
Then this would install the choices:
GSK
$Form=EditForm($Form,"Choosefilter","Values",sysinfo("Filters"))

When the user of the form selects a choice, that can be found in a string variable with the same name as the control, in this case: $Choosefilter

So the actual Filter is then set with a statement like this:
GSK
FILTER Name=$Choosefilter


Viewing all articles
Browse latest Browse all 75250

Trending Articles



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