Hi,
I can set TabstopPositions in the property-editor, but setting/changing
the TabstopPosition in RAP does not work for me.
Even a Control.TabstopPosition.clear does not work.
Do you have any ideas?
we work with RBuilder 12.05.
Thank you for your help,
Josef
--
Comments
For Delphi and RAP code, setting TabStopPositions requires using a local
variable as shown below. The current implementation of the TabStopPositions
property, returns a copy of the TStrings, so you have to get the copy and
then assign the copy.
var
lTabStops: TStrings;
begin
lTabStops := Memo1.TabStopPositions;
lTabStops.Clear;
lTabStops.Add('2'); // use report units here
Memo1.TabStopPositions := lTabStops;
end;
Best regards,
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com