Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 30 AUG 2001 04:24:16PM a becker wrote:

What am I doing wrong?

I'm trying to display the data that is in a selected cell in an edit table in a dialog box so the user can see all the information in the cell at one time, make changes and update the field.

It appears that everything execept the dialog_box is working.

I have the

parent=@window

Frame=get_property(parent,"mdiframe")

if len(frame) then parent=frame

(in my case frame is always=")

Orig=get_property(ctrl,"defprop",aux)

(orig comes back with the correct information with it.)

next I have

text=dialog_box("zoom",parent,orig)

text is always ""

no dialog box appears, it's as if the coding for the dialog box does not exist.

Any ideas??

Thanks

Andy Becker

Il State Lottery


At 30 AUG 2001 04:50PM Robert Lee wrote:

A few of things to try…

Is there an error occuring further up the program? Try a Set_Status(0) before your code.

How about putting a debug in the create event of the dialog box? Does it get there?

Are you using END_DIALOG to return the values?

Is the form visible?


At 30 AUG 2001 09:14PM Richard Richter wrote:

Also check if the dialog box properties page (ZOOM?) has been checked to allow a dialog box.

If your parent name is null, then you're not passing the parent name to the dialog box. Instead of MDIFRAME, use CtrlEntID1,"F.". That should get you the name of the parent window.

Good Luck,

Richard Richter


At 30 AUG 2001 11:03PM Donald Bakke wrote:

Andy,

Is this code the exact way it appears in your application? The name "zoom" should probably be "ZOOM".

[email protected]

SRP Computer Solutions, Inc.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/5b5ba60e070a7cff85256ab8007015d5.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1