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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 How to show dialog in XFBase::ExecuteLabTalk ?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Alex-qwerty

Russia
Posts

Posted - 01/25/2011 :  11:30:03 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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?

Penn

China
644 Posts

Posted - 01/25/2011 :  9:37:26 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000