FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour buttonbar bottom
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
buttonbar bottom
Posted: Thu Oct 29, 2020 12:02 PM
I wish create a buttonbar at the bottom of dialog
why not run ?


Code (fw): Select all Collapse
 DEFINE DIALOG oDlgSelCampi       ;
   TITLE "Selezione campo"     ;
   SIZE nWidth, nHeight   PIXEL     ;
   STYLE nOr( DS_MODALFRAME, WS_POPUP, WS_CAPTION,  4 ) ;
   COLOR CLR_BLACK,  nRgb( 245,244,234)


   DEFINE BUTTONBAR oBar OF oDlgSelCampi SIZE 80,64 2010 BOTTOM

       DEFINE BUTTON OF obar ;
         filename ".\bitmaps\conferma.bmp"       ;
          LEFT BTNRIGHT;
          GROUP ;
          action oDlgSelCampi:end()

         DEFINE BUTTON OF obar ;
         filename ".\bitmaps\Esci.bmp"       ;
          PROMPT  "Chiudi" ;
          LEFT ;
          GROUP ;
          action oDlgSelCampi:end()


  ACTIVATE DIALOG oDlgSelCampi center
   RETURN NIL
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: buttonbar bottom
Posted: Fri Oct 30, 2020 09:15 AM
  1. Create ButtonBar without BOTTOM clause.
  2. ON INIT oBar:GoDown()
Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: buttonbar bottom
Posted: Sat Oct 31, 2020 08:08 AM

ok thanks

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: buttonbar bottom
Posted: Sun Nov 01, 2020 11:10 AM
nageswaragunupudi wrote:1. Create ButtonBar without BOTTOM clause.
2. ON INIT oBar:GoDown()



I make a check
I have a your sample test ( fwh 15.04) with you use Bottom clausole and not oBar:godown() on init but oDlg:resize()



that's why I'm sometimes confused by your answers
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion