This is a migrated thread and some comments may be shown as answers.

How to Make RadForm/All Controls Read Only?

5 Answers 343 Views
Form
This is a migrated thread and some comments may be shown as answers.
SachinC
Top achievements
Rank 1
SachinC asked on 23 Sep 2010, 11:34 AM
Hi,

How to make RadFrom (Windows) Read Only or all of its control readonly including RadPagView, Panels, TextBox, DropDown, DateTimePicker etc.


Thanks!

5 Answers, 1 is accepted

Sort by
0
SachinC
Top achievements
Rank 1
answered on 23 Sep 2010, 12:32 PM
Private Sub SetReadOnlycontrols()
  
For Each item As Control In Me.Controls
  
item.Enabled = False
  
Next
  
End Sub

Solved.

 

 

 

0
Marc
Top achievements
Rank 1
Veteran
answered on 15 Mar 2017, 01:29 PM

Hey,

how I can do this in Progress 4GL?

This doesn't work for me:

DEFINE VARIABLE iZaehler AS INTEGER NO-UNDO.
 
 
DO i = 1 TO THIS-OBJECT:Controls:Count:
     
    IF THIS-OBJECT:Controls:Item[i]:Name = 'GroupVertragBasis'
        OR THIS-OBJECT:Controls:Item[i]:Name = 'GroupVertragKond'
        OR THIS-OBJECT:Controls:Item[i]:Name = 'GroupBemerk' THEN
        NEXT.
 
    THIS-OBJECT:Controls:Item[iZaehler]:Enabled = FALSE.
     
END.

 

Is it possible so set the read-only?

 

Thanks for help :)

0
Stefan
Telerik team
answered on 15 Mar 2017, 03:58 PM
Hi Marc,

Thank you for writing.

The provided code snippet is correct in a NET environment. Since you are using OpenEdge and ABL please open a case in SalesForce.

Please let me know if you have other questions.

Regards,
Stefan
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
 

 
0
Marc
Top achievements
Rank 1
answered on 16 Mar 2017, 10:42 AM

Hi Stefan,

now with the licensed account. It was my mistake.

How I opening a case in SalesForce?

 

Best regard

Marc

0
Hristo
Telerik team
answered on 16 Mar 2017, 04:47 PM
Hi Marc,

Thank you for writing back.

You should be able to submit your case by following this link: https://progresslink.progress.com/supportlink.

I hope this helps.

Regards,
Hristo
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Form
Asked by
SachinC
Top achievements
Rank 1
Answers by
SachinC
Top achievements
Rank 1
Marc
Top achievements
Rank 1
Veteran
Stefan
Telerik team
Marc
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or