04-01-2016, 09:05 AM
Morning Gintaras!
If you have a little more time & patience I would appreciate more help? THANKS! ( I'm sure that you know this, BUT WHEN you provide the 'baby-steps' that I need in this situation, IT HELPS ALL Quick Macro users who are not programmers!!!!)
In the example below, where would I place your last instructions in order to change the font?
Lets say that I have:
a macro (below) that calls for
a function that assigns variables (the variables populate the listbox)
and then a function for the list box
MACRO "TESTdialogFont" begins *********************************************
wait 0.01
TESTdialogFont1 ;; call for function
MACRO ENDS *******************************************************************
FUNCTION "TESTdialogFont1" begins ***************************************
str+ LBXitem1ShowName="(̲S) item#1"
str+ LBXitem2ShowName="(̲D) item#2"
str+ LBXitem3ShowName="(̲F) item#3"
wait 0.1
TESTdialogFont2 ;; call for listbox function
FUNCTION ENDS ****************************************************************
FUNCTION "TESTdialogFont3" begins ****************************************
wait 0.5
sel(ListDialog(F"{LBXitem1ShowName}[]{LBXitem2ShowName}[]{LBXitem3ShowName}" "ListBoxTitle"))
case 1 mes "item-1 selected"
case 2 mes "item-2 selected"
case 3 mes "item-3 selected"
case else ret
wait 0.01
FUNCTION ENDS ****************************************************************
If you have a little more time & patience I would appreciate more help? THANKS! ( I'm sure that you know this, BUT WHEN you provide the 'baby-steps' that I need in this situation, IT HELPS ALL Quick Macro users who are not programmers!!!!)
In the example below, where would I place your last instructions in order to change the font?
Lets say that I have:
a macro (below) that calls for
a function that assigns variables (the variables populate the listbox)
and then a function for the list box
MACRO "TESTdialogFont" begins *********************************************
wait 0.01
TESTdialogFont1 ;; call for function
MACRO ENDS *******************************************************************
FUNCTION "TESTdialogFont1" begins ***************************************
str+ LBXitem1ShowName="(̲S) item#1"
str+ LBXitem2ShowName="(̲D) item#2"
str+ LBXitem3ShowName="(̲F) item#3"
wait 0.1
TESTdialogFont2 ;; call for listbox function
FUNCTION ENDS ****************************************************************
FUNCTION "TESTdialogFont3" begins ****************************************
wait 0.5
sel(ListDialog(F"{LBXitem1ShowName}[]{LBXitem2ShowName}[]{LBXitem3ShowName}" "ListBoxTitle"))
case 1 mes "item-1 selected"
case 2 mes "item-2 selected"
case 3 mes "item-3 selected"
case else ret
wait 0.01
FUNCTION ENDS ****************************************************************