Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi,
I want the c4d.gui.InputDialog to restrict to numbers. Currently, it allows and will return a string as verified by this thread and in the documentation.
c4d.gui.InputDialog
Can someone confirm if this is still applicable for the latest version (i.e. R21)?
If so, are there any definitive solutions? I was thinking of calling a GuiDialog within a GuiDialog so I can create a dedicated GeDialog.AddEditNumber(). But I'm not sure how to implement this.
GeDialog.AddEditNumber()
Is there a way around this?
P.S. Just for background: Within my current GuiDialog, it has several buttons. And when you press some of them, I would like a Dialog Pop-up and asks for input before the command in the button executes itself.
@bentraje take a look at the official gedialog_ask_number example.
Cheers, Maxime.
Hi @m_adam
Thank you for reference. It works as expected. Have a great day ahead!