Jump to content

How to remember DCL window position?


Guest kruuger

Recommended Posts

Guest kruuger

hello,

 

is there any way to remember DCL window position after closing?

i only know how to locate DCL on startup.

(new_dialog [i]dlgname dcl_id [action [screen-pt]][/i])

thanks

kruuger

Link to comment
Share on other sites

Guest kruuger
Hi Kruuger,

 

Check out the return of the done_dialog function :)

OMG i'm stupid :oops: i was thinking that done_dialog returns 0, 1.. etc.

so we can do something lilke this:

(setq POS (done_dialog 1)) - save position to registry and then read POS with new_dialog ?

 

BTW, Lee your web page is AWESOME ! Really good stuff.

 

Thanks

kruuger

Link to comment
Share on other sites

OMG i'm stupid :oops: i was thinking that done_dialog returns 0, 1.. etc.

 

Don't worry, we've all been there :)

 

so we can do something lilke this:

(setq POS (done_dialog 1)) - save position to registry and then read POS with new_dialog ?

 

Yup :)

 

BTW, Lee your web page is AWESOME ! Really good stuff.

 

Thanks mate! :D I'm glad you like it, I had fun making it :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...