The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 How to show dialog in XFBase::ExecuteLabTalk ?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Alex-qwerty Posted - 01/25/2011 : 11:30:03 AM
OriginPro 8.1SR3 WinXP SP3
In help file of method XFBase::ExecuteLabTalk I found the phrase "The dialog can be opened, if so desired". How to force to show the dialog? I want to give for user a possibility to change some parameters of X-Function. When I use
xf.ExecuteLabTalk(NULL, NULL);
xf is executed, but there is no dialog shown. How to show the dialog for user?
1   L A T E S T    R E P L I E S    (Newest First)
Penn Posted - 01/25/2011 : 9:37:26 PM
Hi,

Maybe you have realized the prototype of this method:


int ExecuteLabTalk(LPCSTR lpcszArgs, vector<string>* pvsVarValues, 
    LPVOID lpRetData = NULL, int nRetDataXVT = XVT_INT, int* lpOCerr = NULL, 
    DWORD dwCntrl = 0, int nRecalculate = AU_NONE);

Argument DWORD dwCntrl can be set to LTXF_SHOW_DIALOG for opening the dialog. For example:

xf.ExecuteLabTalk(NULL, NULL, NULL, XVT_INT, NULL, LTXF_SHOW_DIALOG);


Penn

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000