Make a readonly textbox

Configuration of textbox to read only and can not be inputted value. This is perfect when used to display information. Its function is as follows.

ui_textbox_set_readonly(control, read-only);

Return: True if successful

Where readonly is a boolean (true or false).

textboxUsername = ui_textbox_create(32, 24, 128, ui_default, "Username");
ui_textbox_set_readonly(textboxUsername, true);

Change the textboxUsername textbox to a readonly textbox.

results matching ""

    No results matching ""