author=Slavko.Ivanovic link=topic=716.msg3476#msg3476 date=1239708571 wrote:
... If you want to set some values to form elements, why not use function with multiple
set functions.
author=Fred Tomke link=topic=716.msg3479#msg3479 date=1239717213 wrote:
.... or you have to keep initial values which are set and placed when the user presses the reset button.
Fred
Fred
We are talking about the same thing, and when i read are posts again, i myself get confused.
:D ;D
jromkes, don't get confused with the way me and Fred trying to tell U what is all about.
Its simple:
1. If U creating forms in studio, and testing it in AutoCAD, and U want to see changes instantly,
then instead (DCL_PROJECT_LOAD "My_Project") in your code put (DCL_PROJECT_LOAD "My_Project"
T)
2. If you really need a button to reset form values, then you must write functions to set properties (values),
for each control in form separately (in this case to set them to wanted "initial" values), and add them in
button_OnClicked event function.
(
or u can make more intelligent function with arguments to call that function button_OnClicked event)