question

Diamond avatar image
0 Likes"
Diamond asked Jeanette F commented

How to random a number and put it custom-gui textbox ?

I just newbies for this
i want some code when i press the button Random and it Genarate random number 1-500 and put in textbox name "edit205"image-2023-02-14-202435434.png

FlexSim 19.2.4
random numberstextbox
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Diamond, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

This is a simple task for a student to learn from the documentation.

We encourage students to attempt the implementation and if they get stuck come here for pointers.

GUI events

Distribution commands


· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Diamond avatar image Diamond commented ·

i try many way but still nothing happens can u check my code1676549651654.pngeven start didn't come out

0 Likes 0 ·
1676549651654.png (75.1 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Diamond commented ·
setviewtext()
0 Likes 0 ·