Search found 61 matches: abtn

Return to advanced search

Cargo on a Bitmap Control

I made some bitmaps controls on a dialogs I must assign for each bmp a cargo value to assign values before I used btnbmp with this feature sample : aBtn[nbotone]:bLClicked:= {|oBtnOmb| Menu_action oBtnOmb,oFree,oPanel) } aBtn[nbotone]:cargo := { 'Free', n, "O",ny } then If I call the third ...
by Eoeo
Mon Jul 16, 2012 5:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cargo on a Bitmap Control
Replies: 3
Views: 636

Press buttons on a dialog

I made a dialog with some buttons ( btnbmp ) and I associated for each button an action aBtn[nbotone]:bAction := {|oBtnOmb| my_function(oBtn) } this when lMultiple is Off := .f. when lMultiple is .t. I wish no execute the action and when I press a button it must be ...
by Eoeo
Sat Jul 14, 2012 10:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Press buttons on a dialog
Replies: 0
Views: 294

Re: Changing the Toolbar content

... Logic changing BMP's and using the same Button with different Actions: 1. define a Array for the used BMP's 2. use => ACTION oButt3:SetFile( aBtn[4][1], aBtn[4][2] ) ; That will replace on Button-action 2 the Button 3 ( TRASH.BMP ) with the defined BMP's in Arrayelement 4 ( PENDRIVE.BMP ) ...
by ukoenig
Wed Feb 08, 2012 10:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Changing the Toolbar content
Replies: 6
Views: 2271

Re: valid sobre get + button

... QUE SE EJECUTARA EN SQL PARA CONSULTA... LOCAL cQry // PARA HACER LA CONSULTA EN MYSQL... LOCAL oError // CAPTURA LOS ERRORES DE MYSQL... LOCAL aBtn[2] //-------- INICIO CONEXION MYSQL Y CREACION DE LA CONSULTA -------------- IF EMPTY( aVar ) //.AND. EMPTY( cCampo ) cSqlCmd := "SELECT * ...
by joseluisysturiz
Mon Oct 31, 2011 2:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: valid sobre get + button
Replies: 7
Views: 1817

RESIZING A WINDOW

... MakeButtons(oPanel) ) RETURN NIL Function MakeButtons(oPanel) NY=1 Numero:= BMP_V for nx= 1 to 20 @ nY*numero, nx*numero BTNBMP aBtn[nBot] FILENAME BUNGA_FREE ; PIXEL OF oPanel SIZE BMP_H,BMP_V NOBORDER NEXT NX RETURN NIL aNY iDEA ?
by MdaSolution
Sun Aug 28, 2011 7:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RESIZING A WINDOW
Replies: 0
Views: 297

TO ALL GURUS : select some btnbmps

FOR EACH BTNBMP abtn[nbot] is assigned a number

i WISH SELECT SOME BTNBMPs

AND HAVE THE NUMBER OF THEM

to make an multiple order

it is possible with fwh ?

thanks
by MdaSolution
Sat Aug 27, 2011 5:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO ALL GURUS : select some btnbmps
Replies: 0
Views: 282

press some button btnbmp

... the numbers of those tables for create the reservation sample group 1 tables 54,53,52,51 group 2 table 23,24 each btnbmp I assign a action with aBtn[n]:bAction := {|oBtn| Menu_actions( oBtn,oFree,oPanel) } any solution ?
by MdaSolution
Mon Aug 08, 2011 7:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: press some button btnbmp
Replies: 0
Views: 253

Re: ERROR ON BTNBMP CLASS : resolved!!!

Sorry ,

I resolved!!!


I made a function ( same the load_tables() ) but not create the abtn array and then I change colors and captions..now run ok

thanks Daniel
by MdaSolution
Sat Aug 06, 2011 2:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR ON BTNBMP CLASS : resolved!!!
Replies: 8
Views: 1402

Re: ERROR ON BTNBMP CLASS

thanks how I can destroy all abtn ? I try with IF lcarga AEVAL( aBtn, {| oBtn | oBtn:end() } ) else aBtn := Array(totarray) aData := ARRAY( TOTY, TOTX ) endif where lcarga is .f. for the first lap and .t. for the second lap when I want ...
by MdaSolution
Sat Aug 06, 2011 1:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR ON BTNBMP CLASS : resolved!!!
Replies: 8
Views: 1402

Re: round bitmap btn

... use TTitle to create a round button ? 1. no need of a End-Appl.-Function, just a Sample 2. use Say- and BTn`s as a Array. I changed to a Array aBtn[1] - aBtn[8] and oSay[1] - oSay[6] 3. no need of a Image- Sub-Drectory, You can change it and copy the BMP's to Your Main-directory. 4. There is ...
by ukoenig
Sat Nov 20, 2010 9:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: round bitmap btn
Replies: 11
Views: 2921

Re: How to retrieve the button

... ) Then we can write ACTION {|oBtn| MsgInfo( oBtn:<anydata>)} Without changing the FWH library you may: FOR I:=1 to 6 @ 200,100  BUTTONBMP aBtn[I] OF oGrund  ;         PROMPT STR(I)  PIXEL  SIZE 50,50 ;         MESSAGE "Abbruch"                  aBtn[I]:bAction ...
by nageswaragunupudi
Tue Jul 13, 2010 12:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to retrieve the button
Replies: 4
Views: 992

Re: How to retrieve the button

Dear Otto:
Otto wrote:How do can I insert a number of buttons to a WINDOW with a variable name.

Try: aBtn[ nBtn ]:cTitle()
Or: aBtn[ nBtn ]:cCaption

Best regards.

Manuel Mercado Gómez.
by mmercado
Mon Jul 12, 2010 11:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to retrieve the button
Replies: 4
Views: 992

Ayuda Mysql

... oWinh:End() } , "Salir", " Salir ") oToolBar : AddSeparator() oToolBar : AddButton( { || .t. } , "Excel", "Excel") AEval( oToolBar : aButtons, { | aBtn, nBtn| CAMBIA_EL_SIZE_DEL_BOTON( oToolBar : hWnd,; nBtn, nOr( 0x0010 ) ) } ) oReBar : InsertBand( oToolBar ) oWinH : Hide() Define Statusbar Prompt ...
by horacio
Tue Nov 18, 2008 2:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Mysql
Replies: 0
Views: 850

Aqui te mando la función que hace lo que necesitas. En tu código lo manejas así. AEval( oToolBar : aButtons, { | aBtn, nBtn| CAMBIA_EL_SIZE_DEL_BOTON( oToolBar : hWnd, nBtn, nOr( 0x0010 ) ) } ) #pragma BEGINDUMP #include <windows.h> #include <commctrl.h> #include "hbapi.h" ...
by horacio
Fri Nov 07, 2008 3:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tamaño de los botones en una toolbar
Replies: 4
Views: 754

Maestro Manuel, Bug en TSBUTTON

... que vuelve a pintar el recuadro. ? 2.- Si tomas el ejemplo NEWSHAPE.PRG y haces la siguiente modificación: En la línea 94 cambias @155, 45 SBUTTON aBtn[ 8 ] PROMPT "escucha" RESOURCE "Audib" OF oDlg ; COLORS CLR_WHITE, nRGB( 255, 85, 0 ) SIZE 30, 35 PIXEL SUNSET ...
by Cgallegoa
Fri Oct 03, 2008 4:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Maestro Manuel, Bug en TSBUTTON
Replies: 6
Views: 1153
PreviousNext

Return to advanced search