... n] ;
FILENAME cImage;
SIZE 220, 55 PIXEL;
FLAT RIGHT;
FONT oFontSmall ;
PROMPT cDesc ;
OF oElements action Msginfo()
aBtnEle[n]:ocursor:= oHand
aBtnEle[n]:nClrBorder := { |obtn| (IIF(obtn:lMOver,CLR_BLUE,CLR_HGRAY)) }
aBtnEle[n]:bClrGrad = { | lInvert | If( ! lInvert,;
{ { 1, CLR_WHITE ...
Search found 30 matches: ohand
Searched query: ohand
- Mon Jun 12, 2023 5:27 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Select one btnbmp into a scrollpanel
- Replies: 1
- Views: 233
- Tue Mar 23, 2021 12:00 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Change color in a bmp
- Replies: 25
- Views: 3544
Re: Change color in a bmp
... moving and zooming will delete selected colors
@ 4,1 XIMAGE oImg filename cFile SIZE 200,200 OF oDlg
oImg:nUserControl := 0
oImg:oCursor := oHand
oImg:blClicked := { | nCol, nRow | nPickRow := nRow, nPickCol := nCol,;
FILLCOLOR(oImg, nPickRow, nPickCol, nColorSet ...
@ 4,1 XIMAGE oImg filename cFile SIZE 200,200 OF oDlg
oImg:nUserControl := 0
oImg:oCursor := oHand
oImg:blClicked := { | nCol, nRow | nPickRow := nRow, nPickCol := nCol,;
FILLCOLOR(oImg, nPickRow, nPickCol, nColorSet ...
- Tue Oct 15, 2019 7:09 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Preview Window size
- Replies: 6
- Views: 1026
Re: Preview Window size
... GO_PAGE ) ;
VALID ( ::oWnd:oIcon := nil ,;
::oFont:End() ,;
::oCursor:End() ,;
::oMeta1:End() ,;
::oMeta2:End() ,;
::oDevice:End() ,;
::oHand:End() ,;
If( Empty( ::oImageList ),, ( ::oImageList:End(), ::oImageList := nil ) ),;
If( ! Empty( ::oImageListPages ), ::oImageListPages:End ...
VALID ( ::oWnd:oIcon := nil ,;
::oFont:End() ,;
::oCursor:End() ,;
::oMeta1:End() ,;
::oMeta2:End() ,;
::oDevice:End() ,;
::oHand:End() ,;
If( Empty( ::oImageList ),, ( ::oImageList:End(), ::oImageList := nil ) ),;
If( ! Empty( ::oImageListPages ), ::oImageListPages:End ...
- Mon Jun 13, 2016 7:16 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Error on RibbonBar
- Replies: 27
- Views: 6431
Re: Error on RibbonBar
... Inventario","Utilità"}
Local nHeightRib:=130
Local oGr1,oGr2,oGr3,oGr4,oGr5,oGr6,oGr7,oGr8,oGr9
Local nOption:= 1
Local nStart:= 0
Local oHand:= TCursor():New(,'HAND')
oBar=TRibbonBar():New( oWndMain, aRibbonMenu, ,nOption ,;
oWndMain:nWidth, nHeightRib, 26, , , ,;
, , , , , , .F ...
Local nHeightRib:=130
Local oGr1,oGr2,oGr3,oGr4,oGr5,oGr6,oGr7,oGr8,oGr9
Local nOption:= 1
Local nStart:= 0
Local oHand:= TCursor():New(,'HAND')
oBar=TRibbonBar():New( oWndMain, aRibbonMenu, ,nOption ,;
oWndMain:nWidth, nHeightRib, 26, , , ,;
, , , , , , .F ...
- Fri Apr 01, 2016 12:57 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Tfolderex Tab cursor
- Replies: 4
- Views: 1005
Re: Tfolderex Tab cursor
Silvio,
from my sample :
DEFINE CURSOR oHand HAND
@ 15, 10 FOLDEREX SIZE 260, 200 oFld1 PIXEL ROUND 5 UPDATE ;
PROMPT "Page &1", "Page &2", "Page &3", "Page &4", "&EXIT" OF oDlg1 ;
BITMAPS aBitmaps;
ON PAINT TAB PaintTab( Self, nOption );
ON CHANGE ( nSavePage := oFld1:nOption, ;
IF( nOption ...
from my sample :
DEFINE CURSOR oHand HAND
@ 15, 10 FOLDEREX SIZE 260, 200 oFld1 PIXEL ROUND 5 UPDATE ;
PROMPT "Page &1", "Page &2", "Page &3", "Page &4", "&EXIT" OF oDlg1 ;
BITMAPS aBitmaps;
ON PAINT TAB PaintTab( Self, nOption );
ON CHANGE ( nSavePage := oFld1:nOption, ;
IF( nOption ...
- Wed Jan 20, 2016 11:20 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: toolbar class as Menu 2015
- Replies: 7
- Views: 1334
Re: toolbar class as Menu 2015
Local oImageList, oReBar,oHand
Local nColore_ToolBar:= RGB( 244, 245, 245 ) //2015...
DEFINE CURSOR oHand HAND
DEFINE IMAGELIST oImageList SIZE 32,30
oImageList:AddMasked( TBitmap():Define( "TOOLBAR_ESERCIZI",, ::oWndMain ), nColore_ToolBar )
oImageList:AddMasked( TBitmap():Define( "TOOLBAR ...
Local nColore_ToolBar:= RGB( 244, 245, 245 ) //2015...
DEFINE CURSOR oHand HAND
DEFINE IMAGELIST oImageList SIZE 32,30
oImageList:AddMasked( TBitmap():Define( "TOOLBAR_ESERCIZI",, ::oWndMain ), nColore_ToolBar )
oImageList:AddMasked( TBitmap():Define( "TOOLBAR ...
- Mon Jun 29, 2015 9:01 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: A problem changing the cursor of METRO-buttons ?
- Replies: 2
- Views: 512
Re: A problem changing the cursor of METRO-buttons ?
Uwe,
Try this:
AEval( oMetro:aControls, { | o | IF( o:ClassName() = "TMETROBTN", ( o:oCursor := oHand, o:bLostFocus := { || o:oCursor := nil } ), ) } )
Try this:
AEval( oMetro:aControls, { | o | IF( o:ClassName() = "TMETROBTN", ( o:oCursor := oHand, o:bLostFocus := { || o:oCursor := nil } ), ) } )
- Mon Jun 29, 2015 8:16 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: A problem changing the cursor of METRO-buttons ?
- Replies: 2
- Views: 512
A problem changing the cursor of METRO-buttons ?
Hello,
trying to change the cursor on metro-button-focus, I use :
AEval( oMetro:aControls, { | o | o:oCursor := oHand } )
AEval( oMenu1:aControls, { | o | o:oCursor := oHand } )
...
...
it works, but the cursor doesn't change back to arrow, loosing the button-focus.
also tested :
AEval ...
trying to change the cursor on metro-button-focus, I use :
AEval( oMetro:aControls, { | o | o:oCursor := oHand } )
AEval( oMenu1:aControls, { | o | o:oCursor := oHand } )
...
...
it works, but the cursor doesn't change back to arrow, loosing the button-focus.
also tested :
AEval ...
- Wed May 20, 2015 9:39 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: xBrowse Default Edit fields OverStrike vs Insert mode
- Replies: 7
- Views: 1858
Re: xBrowse Default Edit fields OverStrike vs Insert mode
Thank you for your code .. what I am trying to do is to make the insert block just a normal cursor line .. and the oHand Cursor does not effect that
Rick Lipkin
![Image](http://i58.tinypic.com/bgz85d.jpg)
![Neutral :|](./images/smilies/icon_neutral.gif)
Rick Lipkin
![Image](http://i58.tinypic.com/bgz85d.jpg)
- Wed Feb 25, 2015 12:19 am
- Forum: All products support
- Topic: Scroll em LISTBOX
- Replies: 0
- Views: 1389
Scroll em LISTBOX
... REDEFINE LISTBOX oLbx1 ;
FIELDS Ds_Mar(cBmp), ( cAlias )->CODIGO, ( cAlias )->DESCRICAO ;
HEADERS "","Cód", "Descrição" SIZES 30,70,150 ;
CURSOR oHand ;
ID 108 ALIAS cAlias OF Odlg
Esta instrução funciona bem em SCROLL na versão FWH108 e na versão FWH14.12 não sei a razão porque não funciona ...
FIELDS Ds_Mar(cBmp), ( cAlias )->CODIGO, ( cAlias )->DESCRICAO ;
HEADERS "","Cód", "Descrição" SIZES 30,70,150 ;
CURSOR oHand ;
ID 108 ALIAS cAlias OF Odlg
Esta instrução funciona bem em SCROLL na versão FWH108 e na versão FWH14.12 não sei a razão porque não funciona ...
- 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 ...
- Tue Feb 05, 2013 12:45 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Prompt em button de buttonbar
- Replies: 7
- Views: 1480
Prompt em button de buttonbar
... e alinhamento do texto do prompt. Está ficando assim:
m
O fonte usado é este:
DEFINE BUTTONBAR oBar OF oWmaster SIZE 33 , 33 _3D TOP CURSOR oHand _2007
....
DEFINE BUTTON obotao FILE "BTN.bmp" OF oBar ACTION ShellExecute(0 , "open" ,alltrim(command[1]) ) PROMPT BOTOES->txt TOOLTIP BOTOES ...
m
O fonte usado é este:
DEFINE BUTTONBAR oBar OF oWmaster SIZE 33 , 33 _3D TOP CURSOR oHand _2007
....
DEFINE BUTTON obotao FILE "BTN.bmp" OF oBar ACTION ShellExecute(0 , "open" ,alltrim(command[1]) ) PROMPT BOTOES->txt TOOLTIP BOTOES ...
- Sun Oct 14, 2012 11:20 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: assign cursor object to btns
- Replies: 5
- Views: 998
Re: assign cursor object to btns
oBtn[40]
are you filling all array?
the error is absolutely clear, one element in array is NIL
AEval(oBtn,{|n| If( n != NIL, n:oCursor:= oHand, ) })
are you filling all array?
the error is absolutely clear, one element in array is NIL
AEval(oBtn,{|n| If( n != NIL, n:oCursor:= oHand, ) })
- Sun Oct 14, 2012 10:22 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: assign cursor object to btns
- Replies: 5
- Views: 998
Re: assign cursor object to btns
Hello
the correct code is
AEval(oBtn,{|n| n:oCursor:= oHand })
"n" is the each element in array isn't a index
remember:
when report a error please post the error.log, this way we can do a better support, thanks
the correct code is
AEval(oBtn,{|n| n:oCursor:= oHand })
"n" is the each element in array isn't a index
remember:
when report a error please post the error.log, this way we can do a better support, thanks
- Sun Oct 14, 2012 6:52 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: RDDSETDEFAULT Inconsistent Behavior
- Replies: 4
- Views: 1033
RDDSETDEFAULT Inconsistent Behavior
... works when there are only 2 PRGs being compiled and linked
#include "fivewin.ch"
static cStatic
FUNCTION Main()
LOCAL nEpoch // Y2K
local oHand, oBmp, oBmpTiled
PARAMETERS arg1, arg2, arg3
REQUEST DBFCDX
RDDSetDefault("dbfcdx")
test_it() // see test_sub.prg
USE AFECD SHARED NEW ...
#include "fivewin.ch"
static cStatic
FUNCTION Main()
LOCAL nEpoch // Y2K
local oHand, oBmp, oBmpTiled
PARAMETERS arg1, arg2, arg3
REQUEST DBFCDX
RDDSetDefault("dbfcdx")
test_it() // see test_sub.prg
USE AFECD SHARED NEW ...