|
Post by AnkuLua on May 28, 2018 15:38:10 GMT
hi, is there a way to change text color of addTextView method ? Not supported now.
|
|
|
Post by zbel on May 28, 2018 15:38:40 GMT
hi, is there a way to change text color of addTextView method ? Not supported now. Ok and text align ?
|
|
|
Post by AnkuLua on May 28, 2018 15:52:00 GMT
Text alignment is also not supported now.
|
|
|
Post by zbel on May 29, 2018 21:05:52 GMT
Text alignment is also not supported now. Ok thanks
|
|
|
Post by schwembo on Jan 10, 2019 8:20:10 GMT
In another Script i used there was a Permanent Text displayed where i could see Completed Runs etc. ingame. It was not a Dialog but a Text with Transparent Background directly overlayed ingame. With which functions can i build such a Text?
|
|
|
Post by Acera Dryd on Jan 10, 2019 8:44:58 GMT
In another Script i used there was a Permanent Text displayed where i could see Completed Runs etc. ingame. It was not a Dialog but a Text with Transparent Background directly overlayed ingame. With which functions can i build such a Text? You can use the highlight-function for this.
|
|
|
Post by schwembo on Jan 10, 2019 10:12:04 GMT
In another Script i used there was a Permanent Text displayed where i could see Completed Runs etc. ingame. It was not a Dialog but a Text with Transparent Background directly overlayed ingame. With which functions can i build such a Text? You can use the highlight-function for this. Thank you! One more question. Can i add a LineBreak into a String (so i do one Highlight(text) with several lines) or do i have to set a new region for each line?
|
|
|
Post by Acera Dryd on Jan 10, 2019 10:18:16 GMT
Thank you! One more question. Can i add a LineBreak into a String (so i do one Highlight(text) with several lines) or do i have to set a new region for each line? You can realize a line break with "\n". "Text1\nText2" then generates the following output: Text1 Text2
|
|
|
Post by enissay on Apr 1, 2019 21:04:37 GMT
For the below, I'll need two variables, 1 input and will generate 1 output! What if I simply want to use a single var whose value read for display, then is simply updated. Is that doable ?
addCheckBox(String argument, String text, boolean defaultValue) The reason is that I have a lot of checkboxes and creating double vars for each is just crazy !
|
|
|
Post by AnkuLua on Apr 2, 2019 0:34:53 GMT
For the below, I'll need two variables, 1 input and will generate 1 output! What if I simply want to use a single var whose value read for display, then is simply updated. Is that doable ? addCheckBox(String argument, String text, boolean defaultValue) The reason is that I have a lot of checkboxes and creating double vars for each is just crazy ! Don't know what you want. Sorry.
|
|
|
Post by enissay on Apr 2, 2019 19:30:59 GMT
For the below, I'll need two variables, 1 input and will generate 1 output! What if I simply want to use a single var whose value read for display, then is simply updated. Is that doable ? addCheckBox(String argument, String text, boolean defaultValue) The reason is that I have a lot of checkboxes and creating double vars for each is just crazy ! Don't know what you want. Sorry. Never mind, I found exactly what I want HERE :-) I have an issue though: When I start the menu with checkbox set by default to True, then I uncheck it and end the script. When I run it again, the same checkbox is still unchecked despite that the default value is true ! EDIT: Gosh, solved here: ankulua.boards.net/thread/12/user-interface-methods#removePreference
|
|
|
Post by crossa on Mar 18, 2022 21:17:41 GMT
The result of above script. 
Can we make another element appear after clicking a specific radio button? let say after clicking Button21, addEditNumber appear.
|
|
|
Post by AnkuLua on Mar 18, 2022 23:29:53 GMT
The result of above script. 
Can we make another element appear after clicking a specific radio button? let say after clicking Button21, addEditNumber appear. No.
|
|
|
Post by Apollo on Dec 6, 2022 9:00:05 GMT
Is there anyway to find and display which function called the function that is running? I guess python uses something like: import inspect def whosdaddy(): return inspect.stack()[2][3]
Anything similar here? I want to display the function that is running in my status text display.
|
|
|
Post by AnkuLua on Dec 7, 2022 8:17:57 GMT
|
|