Hey folks,
I'm working with widgets for the first time, and I'm running into some basic issues. Below is my simple window widget to gather multi-line information rather than @PromptForUserInput.
My questions are:
- how can I color the background frame of the input window?
- how can I raise the 'DONE' button, and bold the text?
Thanks!
#include "sbasic_include.sbas"
var vKey as int
var vWidgetID as int
var vResult as string
vKey = @OpenWindow(100, 50, 500, 500, "TASK DESCRIPTION")
WidgetAttribute(vWidgetID, WIDGET_ATTR_RGB_COLOR, "44, 108, 204")
vWidgetID = @AddWidget(USER_WINDOW_MULTILINE_INPUT, 10, 10, 480, 430, "")
WidgetAttribute(vWidgetID, WIDGET_ATTR_RGB_COLOR, "204, 204, 204")
vWidgetID = @AddWidget(USER_WINDOW_ACCEPT_BUTTON, 430, 460, 50, 20,"DONE")
vResult = @RunWindow()