DataBinder Question (5.08)
Small question,
In the RapidDataBindingSource (RDBS) I have the possibility to have more than one member. Does this mean that I can use one RDBS with bindings to different data, that then are spread out over for example many labels.text ??
I haven't found a way to adress a certain member of the RDBS when i'm setting the databindings / advanced for a label.
What I do instead is to have one RDBS for each data connected label.
Does anyone have some thoughts on this?
/PerM
Comments
-
Hi PerM,
I'm not sure if it works, but..
RDBS has a RapidDataList where you can add different RapidDataObjects. So if you fill the list with all the members you wan't to control... you can then just make calls to the RapidDataObejects in the list. right? (see the RAB user guide for 5.08/
Using the FlexPendant SDK - GUI and CAPI - Building the user interface)
Is this what you meant?
Q
0 -
Hi,
Well, I manage to get the objects in to the RapidDataList. The question is how to adress a specific index in the list, when I use the data binding in a component, for example a AbbLabel. I use the "data bindings / advanced" for this. But I can not find a way to specify which index to use.
/PerM
0 -
Hi,
Try this:
this.tpsLabel1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this .rapidDataBindingSource1.DataSource.Equals(rapidDataObject1) , "Value", true));Maybe it works.
Q
0 -
hy thereif i have all my modules placed in a combobox, what code should i use to change the module name of a rapidDataObject ?Thanks
Hydron2011-11-22 02:02:480
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings