7 posts in this topic
I want to show or hide a edit control depending if a radio button is checked or not.The following Autoit code appears semantically ok but not working.Can anyone please help?
While 1 $nMsg = GUIGetMsg() $isradioChk=GUICtrlRead($radio_AbsP);checked=1,not checked=4 Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $isradioChk If $isradioChk<==1 Then GUICtrlSetState($edit_AbsP,$GUI_SHOW) GUICtrlSetState($edit_RelP,$GUI_HIDE) Else GUICtrlSetState($edit_AbsP,$GUI_HIDE) GUICtrlSetState($edit_RelP,$GUI_SHOW) EndIf Case $usrPrefs EndSwitch WEnd
quick dumb question that i could not find an answer to.
I created an EditBox with the Style $ES_LEFT. I would like to "add" the $WS_EX_TRANSPARENT style so i can use to box without the borders.
My goal is to have a multi line input that automatically breaks into the next line without the sliders or boarders essentially.
i have tried:
$iInput = GUICtrlCreateEdit("Hi", 0, 200, 601, 81, BitOR($ES_LEFT, $WS_EX_TRANSPARENT)) But it doesn't seem to work. Do you know maybe a style that would fit what i was searching for?
Hi all guys,
I'm trying to find a solution for the following:
I have an Editbox
$CH_Edit = GUICtrlCreateEdit("", 71, 40, 81, 353, BitOR($WS_VSCROLL,$ES_WANTRETURN)) $CH_Close = GUICtrlCreateButton("Save&Close", 70, 408, 75, 25)
and I would like to pass to an array all the datas inside, row by row.
i.e. if I have in the editbox
I would like to have, once Button has been clicked,
dm $names ; fixed or it would be better dinamic based on the row of the editbox
$names=John $names=Holder $names=Frank $names=MCGregor $names=Alex $names=Dentis
Can you please help me to solve this?
Thanks in advance,
I am looking for a way to create a combobox that drops under the cursor of an edit box. In the sort of way scite works when typing out a function. I would like to use it for predictive text, below is an what I am going for.
I would appreciate suggestions on how to attack this problem. Right now I am thinking about just creating a combobox and destoying it, or moving and hiding it. I am drawing up an example, if I get it working I will post it.