... TITLE "FiveWin sample" ;
MENU BuildMenu() ;
COLOR "B/W" ICON oIco
// DEFINE BUTTONBAR oBar _3D SIZE 26, 27 OF oWnd
DEFINE BUTTONBAR oBar BUTTONSIZE 64, 52 _3DLOOK TOP OF oWnd 2007
WITH OBJECT oBar // VER: ANCHO.PRG
oBar:bClrGrad := aPubGrad
// oBar:SetFont( oFont )
oBar:nClrText := CLR ...
Search found 33 matches: buttonsize
Searched query: buttonsize
- Thu Jan 16, 2025 4:38 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: HBMK2 - Barra de estado y barra principal mas pequenas
- Replies: 13
- Views: 12829
- Mon Mar 30, 2020 2:28 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: ButtonBar in a specific location ( Solved )
- Replies: 4
- Views: 644
ButtonBar in a specific location ( Solved )
... create a ButtonBar in a specific location in the Window?
The wiki shows:
@ <nRow>, <nCol> BUTTONBAR [<oBar>];
[SIZE <nWidth>, <nHeight>];
[BUTTONSIZE <nBtnWidth>, <nBtnHeight>];
[3D | 3DLOOK | _3D | _3DLOOK];
[TOP | LEFT | RIGHT | BOTTOM | FLOAT];
[OF | WINDOW | DIALOG <oWnd>];
[CURSOR ...
The wiki shows:
@ <nRow>, <nCol> BUTTONBAR [<oBar>];
[SIZE <nWidth>, <nHeight>];
[BUTTONSIZE <nBtnWidth>, <nBtnHeight>];
[3D | 3DLOOK | _3D | _3DLOOK];
[TOP | LEFT | RIGHT | BOTTOM | FLOAT];
[OF | WINDOW | DIALOG <oWnd>];
[CURSOR ...
- Sun Mar 22, 2020 9:14 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: bug BTNBMP
- Replies: 24
- Views: 3619
Re: bug BTNBMP
I found the problem ( bitmap resized / adjusted to buttonsize )
You will get a bad quality in case the button-resource < bitmap-resource
I adjusted the bitmap-resource-size and it works.
To keep the bitmaps just increase the button-resource-size
http://www.pflegeplus.com/IMAGES/Btnbmp4 ...
You will get a bad quality in case the button-resource < bitmap-resource
I adjusted the bitmap-resource-size and it works.
To keep the bitmaps just increase the button-resource-size
http://www.pflegeplus.com/IMAGES/Btnbmp4 ...
- Tue May 10, 2016 4:05 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: ButtonBar style 2015
- Replies: 19
- Views: 6297
Re: ButtonBar style 2015
... 3D SIZE 26, 84
oBar:bLClicked := { || NIL }
oBar:bRClicked := { || NIL }
@ -1, -1 BUTTONBAR ::oBar1 OF oBar 3D SIZE oBar:nWidth - 1, 29 ;
BUTTONSIZE 26, 27
//sample button
DEFINE BUTTON RESOURCE "RTFNEW" OF ::oBar1 GROUP ;
MESSAGE "Creates a new document" ;
TOOLTIP "New" NOBORDER ...
oBar:bLClicked := { || NIL }
oBar:bRClicked := { || NIL }
@ -1, -1 BUTTONBAR ::oBar1 OF oBar 3D SIZE oBar:nWidth - 1, 29 ;
BUTTONSIZE 26, 27
//sample button
DEFINE BUTTON RESOURCE "RTFNEW" OF ::oBar1 GROUP ;
MESSAGE "Creates a new document" ;
TOOLTIP "New" NOBORDER ...
- Tue May 03, 2016 7:09 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: btnbmp on buttonbar
- Replies: 13
- Views: 2783
Re: btnbmp on buttonbar
... 3D SIZE 26, 84
oBar:bLClicked := { || NIL }
oBar:bRClicked := { || NIL }
@ -1, -1 BUTTONBAR ::oBar1 OF oBar 3D SIZE oBar:nWidth - 1, 29 ;
BUTTONSIZE 26, 27
here the buttons of ::oBar1
::oBar1:bLClicked := { || NIL }
::oBar1:bRClicked := { || NIL }
AEval( ::oBar1:aControls, { |x| x ...
oBar:bLClicked := { || NIL }
oBar:bRClicked := { || NIL }
@ -1, -1 BUTTONBAR ::oBar1 OF oBar 3D SIZE oBar:nWidth - 1, 29 ;
BUTTONSIZE 26, 27
here the buttons of ::oBar1
::oBar1:bLClicked := { || NIL }
::oBar1:bRClicked := { || NIL }
AEval( ::oBar1:aControls, { |x| x ...
- Tue Apr 26, 2016 11:37 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Problem with Preview from trichedit RESOLVED
- Replies: 4
- Views: 1213
Problem with Preview from trichedit RESOLVED
... 3D SIZE 26, 84
oBar:bLClicked := { || NIL }
oBar:bRClicked := { || NIL }
@ -1, -1 BUTTONBAR ::oBar1 OF oBar 3D SIZE oBar:nWidth - 1, 29 ;
BUTTONSIZE 26, 27
DEFINE BUTTON RESOURCE "RTFCut" OF ::oBar1 GROUP ;
MESSAGE "Cuts the selection and puts it on the Clipboard" ;
TOOLTIP "Cut" NOBORDER ...
oBar:bLClicked := { || NIL }
oBar:bRClicked := { || NIL }
@ -1, -1 BUTTONBAR ::oBar1 OF oBar 3D SIZE oBar:nWidth - 1, 29 ;
BUTTONSIZE 26, 27
DEFINE BUTTON RESOURCE "RTFCut" OF ::oBar1 GROUP ;
MESSAGE "Cuts the selection and puts it on the Clipboard" ;
TOOLTIP "Cut" NOBORDER ...
- Thu Apr 21, 2016 9:35 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Richedit on a dialog
- Replies: 17
- Views: 9544
Re: Richedit on a dialog
thanks
and I can erase border of the bar ?
I make
@ oRtf:nTop,oRtf:nLeft BUTTONBAR oBarMemo ;
SIZE oRtf:nWidth+100,27 ;
BUTTONSIZE 26, 27;
OF oWnd ;
CURSOR oCursor
oBarMemo:lborder:= .f.
but not run ok because I see all ways the border ( on fivewin.ch the command @ x,y buutonbar buttonsize ...
and I can erase border of the bar ?
I make
@ oRtf:nTop,oRtf:nLeft BUTTONBAR oBarMemo ;
SIZE oRtf:nWidth+100,27 ;
BUTTONSIZE 26, 27;
OF oWnd ;
CURSOR oCursor
oBarMemo:lborder:= .f.
but not run ok because I see all ways the border ( on fivewin.ch the command @ x,y buutonbar buttonsize ...
- Wed Apr 20, 2016 8:06 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Richedit on a dialog
- Replies: 17
- Views: 9544
Re: Richedit on a dialog
... lBullet := .F.,;
lNumber := .F.
DEFINE CURSOR oCursor HAND
@ oRtf:nTop,oRtf:nLeft BUTTONBAR oBarMemo ;
SIZE oRtf:nWidth+100,27 3D;
BUTTONSIZE 26, 27;
OF oWnd ;
CURSOR oCursor
DEFINE BUTTON oBtn OF oBarMemo ;
MESSAGE "Create a new file" TOOLTIP "New" NOBORDER ;
ACTION oRTF:SetText ...
lNumber := .F.
DEFINE CURSOR oCursor HAND
@ oRtf:nTop,oRtf:nLeft BUTTONBAR oBarMemo ;
SIZE oRtf:nWidth+100,27 3D;
BUTTONSIZE 26, 27;
OF oWnd ;
CURSOR oCursor
DEFINE BUTTON oBtn OF oBarMemo ;
MESSAGE "Create a new file" TOOLTIP "New" NOBORDER ;
ACTION oRTF:SetText ...
- Sun Apr 17, 2016 8:41 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Richedit on a dialog
- Replies: 17
- Views: 9544
Richedit on a dialog
... lBold := .F., lItalic := .F., lUnderline := .F., lBullet := .F.,;
lNumber := .F.
DEFINE CURSOR oCursor HAND
@ 90,110 BUTTONBAR oBar OF oWnd BUTTONSIZE 26, 27
return nil
it make error
[code]Application=========== Path and name: F:\Versioni_Invio_Mail\Mail\ut_mail.Exe ...
lNumber := .F.
DEFINE CURSOR oCursor HAND
@ 90,110 BUTTONBAR oBar OF oWnd BUTTONSIZE 26, 27
return nil
it make error
[code]Application=========== Path and name: F:\Versioni_Invio_Mail\Mail\ut_mail.Exe ...
- Thu Oct 15, 2015 2:57 pm
- Forum: WhatsNew / Novedades
- Topic: New FTDN September/Septiembre 2015 (FWH 15.09)
- Replies: 52
- Views: 21792
Re: New FTDN September/Septiembre 2015 (FWH 15.09)
... TGet
September 2015
==============
* Enhancement: Command ButtonBar of Fivewin.ch
#xcommand DEFINE BUTTONBAR [ <oBar> ] ;
[ <size: SIZE, BUTTONSIZE, SIZEBUTTON > <nWidth>, <nHeight> ] ;
[ <_3d: _3D, 3D, 3DLOOK, _3DLOOK> ] ;
[ <mode: TOP, LEFT, RIGHT, BOTTOM, FLOAT> ] ;
[ <wnd: OF, WINDOW ...
September 2015
==============
* Enhancement: Command ButtonBar of Fivewin.ch
#xcommand DEFINE BUTTONBAR [ <oBar> ] ;
[ <size: SIZE, BUTTONSIZE, SIZEBUTTON > <nWidth>, <nHeight> ] ;
[ <_3d: _3D, 3D, 3DLOOK, _3DLOOK> ] ;
[ <mode: TOP, LEFT, RIGHT, BOTTOM, FLOAT> ] ;
[ <wnd: OF, WINDOW ...
- Thu Jun 04, 2015 2:10 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Possible another Submenu from METRO SUBmenu-button ?
- Replies: 2
- Views: 753
Re: Possible to define a Submenu from METRO menu-button ?
... not included in the sample < metrptst.prg >
I found a solution, to create a new menu from a submenu-button ( NOT startpage )
and to change the buttonsize as well :
http://www.pflegeplus.com/IMAGES/metro8.jpg
called from submenu-button < Index >
STATIC FUNCTION NEUINDEX(oWnd ...
I found a solution, to create a new menu from a submenu-button ( NOT startpage )
and to change the buttonsize as well :
http://www.pflegeplus.com/IMAGES/metro8.jpg
called from submenu-button < Index >
STATIC FUNCTION NEUINDEX(oWnd ...
- Mon Feb 23, 2015 9:01 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: 15.02 BUTTONBARs
- Replies: 5
- Views: 1426
15.02 BUTTONBARs
... and so buttons on the buttonbar, eg. bmp, png, ico, gif, jpg, etc (acceptable by freeimage). Larger image files will be reduced to fit the buttonsize, if necessary. It is also possible to specify a bitmap handle of memory buffer of an image.
In addition an exe file also can be specified and in ...
In addition an exe file also can be specified and in ...
- Sat Dec 06, 2014 10:49 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Help for Pickcolor
- Replies: 13
- Views: 4495
Re: Help for Pickcolor
Some small changes :
changed buttonsize, defined a font and added cursor HAND as a test
http://www.pflegeplus.com/IMAGES/Pickcolor3.jpg
#include "fivewin.ch"#include "constant.ch"FUNCTION MAIN() MsgInfo( PICK_COLOR() )RETURN NIL// ------------------FUNCTION ...
changed buttonsize, defined a font and added cursor HAND as a test
http://www.pflegeplus.com/IMAGES/Pickcolor3.jpg
#include "fivewin.ch"#include "constant.ch"FUNCTION MAIN() MsgInfo( PICK_COLOR() )RETURN NIL// ------------------FUNCTION ...
- Mon Sep 22, 2014 12:00 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Bug estilo 2013 ButtonBar
- Replies: 0
- Views: 335
Bug estilo 2013 ButtonBar
Hola,
He estado probando los estilos con la ButtonBar, así:
DEFINE BUTTONBAR oBar BUTTONSIZE 64,64 TOP OF ::oFldPermisos:aDialogs[1] CURSOR oHand 2013
Sin estilo, sale el normal de win98, 2007 y 2010, son bonitos pero creo que son idénticos. Y por último el 2013 funciona como win98 también.
Dejo ...
He estado probando los estilos con la ButtonBar, así:
DEFINE BUTTONBAR oBar BUTTONSIZE 64,64 TOP OF ::oFldPermisos:aDialogs[1] CURSOR oHand 2013
Sin estilo, sale el normal de win98, 2007 y 2010, son bonitos pero creo que son idénticos. Y por último el 2013 funciona como win98 también.
Dejo ...
- Wed Oct 23, 2013 3:58 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Disabling report preview options
- Replies: 9
- Views: 4233
Re: Disabling report preview options
... valid values are 97, 2007, 2010. If specified, this style is used for creating the ButtonBar.
3. aBtnSize: Array of { nWidth, nHeight } of the buttonsize. If specified, rprevifew uses this size for buttonbar buttons.
For examples of how to use this functions, please see these postings:
http ...
3. aBtnSize: Array of { nWidth, nHeight } of the buttonsize. If specified, rprevifew uses this size for buttonbar buttons.
For examples of how to use this functions, please see these postings:
http ...