[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Writing own bindingsources for form controls

  • Thread starter Thread starter Kai Siegele
  • Start date Start date
Status
Not open for further replies.
K

Kai Siegele

Guest
Hallo jquerijero, thanks for your answer. Creating a record with four fields was exactly what I have done in first step. Than I have created an ABL-Form with four textboxes to show and later to modify this four fields. Now I am searching for a way in ABL to connect the texboxes and the fields of the records, so that the record knows when the value in control has changed and control knows when property of data object has changed. Using C# this connection is very simple: Just add a description which property of the control corresponds to which field of my the record (called bindingSource), for example: tbRating1.DataBindings.Add("Text", bindingSource, "Rating1", false, DataSourceUpdateMode.OnPropertyChanged); tbRating2.DataBindings.Add("Text", bindingSource, "Rating2", false, DataSourceUpdateMode.OnPropertyChanged); ... After writing this few lines of code everything works as pleased. That’s great, isn’t it? Kind regards Kai Siegele

Continue reading...
 
Status
Not open for further replies.
Back
Top