Notifications
Clear all

[Closed] Is there a typo?

Hi,

here is a piece from my code:

rollout NightmareSaverGUI "Nightmare Saver" width:980 height:600 (
		label __fileBaseTxt "File Name:" pos:[710,10]
		edittext __fileBase "" pos:[706,30] width:240 height:20
		
		on __fileBase entered arg do (
			print "it works!"
			
		)
	)createDialog NightmareSaverGUI

I don’t know why it prints out only on closing the rollout. Is there a typo or sth I don’t see?

3 Replies

If you specify a height greater than 17 for an edittext control, it work in multi-line mode.
If you want it to be single line, then do not specify its height.

ok it makes sense. Thanks!

already explained