(RDMLX)Button in the table

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
MegumiSawada
Posts: 268
Joined: Tue Feb 19, 2013 5:18 pm

(RDMLX)Button in the table

Post by MegumiSawada »

Hi,

Is it possible to make buttons in the table without a gap between facecolor and border(please see the attached pic)?
I tried padding(0)/cellspacing(0) but nothing changed. Innerpadding doesn't seem to exist.
HL44892.txt
(7.31 KiB) Downloaded 274 times
I appreciate your kind advice.

Best Regards,
Megumi Sawada
Attachments
IMG_0125.jpg
IMG_0125.jpg (168.53 KiB) Viewed 2463 times
Paul

Re: (RDMLX)Button in the table

Post by Paul »

Hi Megumi,

There are some properties that you could use to get this to look better.

Change the set up of your button to the following;

Code: Select all

* Set up the button in column 6

#COM_OWNER.Set_Button Tablename('Table1') Tablecol_N(6) Buttonfacecolor(Yellow) Text('Select')

* Set the ButtonBorder properties for the button

#COM_OWNER.Set Property('Table1.COL%6.CONTENT.BUTTONBORDER.THICKNESS') To('1')
#COM_OWNER.Set Property('Table1.COL%6.CONTENT.BUTTONBORDER.COLOR') To('Red')
#COM_OWNER.Set Property('Table1.COL%6.CONTENT.BUTTONBORDER.CORNERRADIUS') To('5')
My tests show this removes the gap between the border and the Buttonface color,

I hope this works for you too,
Paul
MegumiSawada
Posts: 268
Joined: Tue Feb 19, 2013 5:18 pm

Re: (RDMLX)Button in the table

Post by MegumiSawada »

Hi Paul,

Thank you for your advice.
It works!!

Best Regards,
Megumi
Post Reply