FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour What a shoe in button to replace sbutton (TSButton)
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM

What a shoe in button to replace sbutton (TSButton)

Posted: Wed Jan 07, 2026 08:56 AM

I would like to replace sbutton splattered in my old source with something supported by Fivewin straight out of the box.
Should I use buttonbmp or btnbmp?

This is what is currently in my code using sbutton

  @ nextrow,nLeft sbutton ::oBtn[2] resource "b9",,,"b9_over" nobox of ::oWnd pixel ;
    brush ::oBrush ;
    action ::SubMenuFast(::oBtn[2])
  nextRow := startrow+::oBtn[2]:nHeight-BTN_ADJ
FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: What a shoe in button to replace sbutton (TSButton)

Posted: Wed Jan 07, 2026 10:37 AM

Dear Hua,

TBtnBmp seems to be the way to go :wink:

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM

Re: What a shoe in button to replace sbutton (TSButton)

Posted: Thu Jan 08, 2026 03:40 AM

Thanks Antonio!

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour

Continue the discussion