We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26f0f8c commit 19e178bCopy full SHA for 19e178b
examples/GUI/IUP/textbox.bas
@@ -1,4 +1,4 @@
1
-#include once "IUP/iup.bi"
+#include once "IUP/iup.bi"
2
const NULL = 0
3
const NEWLINE = !"\n"
4
@@ -11,7 +11,7 @@ function on_click_ok cdecl(byval handler as Ihandle ptr) as long
11
12
print "OK clicked! content of textbox: <" + text + ">"
13
14
- IupSetAttribute(label, IUP_TITLE, _
+ IupSetStrAttribute(label, IUP_TITLE, _
15
"Thanks. You entered <" + text + ">." + NEWLINE + _
16
"val() result: " & val(text) & ". " + NEWLINE + _
17
"IupGetInt() result: " & IupGetInt(textbox, IUP_VALUE) & "." + NEWLINE + _
0 commit comments