Author Topic: How do I create a form after the _message_box model?  (Read 4388 times)

Paula

  • Community Member
  • Posts: 8
  • Hero Points: 0
How do I create a form after the _message_box model?
« on: August 19, 2010, 02:53:38 pm »
Hello,

  I need some help, if possible :).
  I need to modify the _message_box from slick-c, or do a message box of my own. Basically I need to add a checkbox to the present
_message_box, and bind one of my  handler to the yes button.  I have tried to make my own message box, but I have encountered problems at printing variable massages.
  My solution consist in replacing the p_caption attribute in the file that describes my message box, but the file needs to be reloaded
after every modification. But(for what I understand) SlickEdit loads the modules only after the macro terminates, and I need to display my message box before that. (Right now  the message box displayed contains the previous message and not the present one.)

 Is there any other way I can do this? Or maybe modify the _message_box...

Thx :)

chrisant

  • Senior Community Member
  • Posts: 1410
  • Hero Points: 131
Re: How do I create a form after the _message_box model?
« Reply #1 on: August 19, 2010, 05:55:33 pm »
Set the p_caption during runtime, rather than hard-coding it.

Paula

  • Community Member
  • Posts: 8
  • Hero Points: 0
Re: How do I create a form after the _message_box model?
« Reply #2 on: August 24, 2010, 09:55:25 am »
Tnx a lot. It worked:)