For making BmpBtn of the size of the text (cVar) in need to know how long the cVar = in pixels
Can't find the code in the current forumData. Anyone has it ?
Determine lengt in Pixel of cVar
- Marc Venken
- Posts: 1485
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: Determine lengt in Pixel of cVar
Code: Select all | Expand
? oBtn:GetWidth( cText, [oFont] )
? oDlg:GetWidth( cText, [oFont] )
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India