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
 LabTalk Forum
 Dialog Builder toolbars
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Mike Buess

USA
3037 Posts

Posted - 05/12/2003 :  4:40:41 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I'm building a DB toolbar with buttons that behave like check boxes and want to link the state of each button to a LabTalk property. I can control the state of the nth button with MyDialog!Toolbar.An=0 or 1, so I tried to set up a link in the string table like this...

IDC_TOOLBAR 25000 MyDialog.Toolbar -H(12000) -S(1) -L((A1,layer2.showdata))

According to the DB documentation that should link the state of the first button with the LabTalk property layer2.showdata. Although I've used such links with other DB controls (such as normal check boxes) I can't get them to work with the toolbar buttons. Does linking not work with toolbars or is there something else I need to do to make it work?

Mike Buess
Origin WebRing Member
  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