Search found 177 matches: obtn1

Return to advanced search

Re: oGet:KeyChar()

Otto,

There is a little error in your code, it is this way:

REDEFINE BUTTON oBtn1 ID 101 OF oDlg ACTION (MsgBeep(),;
SetFocus( oGet1:hWnd ),;
oGet1:KeyChar(ASC("1")))
by Antonio Linares
Wed Oct 05, 2011 10:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oGet:KeyChar()
Replies: 5
Views: 876

Re: oGet:KeyChar()

Hello Antonio, c:\FWH\samples\keybsim.prg REDEFINE BUTTON oBtn1 ID 101 OF oDlg ACTION (MsgBeep(),; oGet1:SetFocus( oGet1:hWnd ),; oGet1:KeyChar(ASC("1"))) I tried this way but with no success. Do I need 11.9 version of FiveWin? Best regards, ...
by Otto
Wed Oct 05, 2011 9:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oGet:KeyChar()
Replies: 5
Views: 876

oGet:KeyChar()

... or one of the last updates of Fivewin this does not work any more. Please test keybsim.prg. Thanks in advance and best regards, REDEFINE BUTTON oBtn1 ID 101 OF oDlg ACTION (MsgBeep(),; oGet1:SetFocus(.t.),; oGet1:KeyChar(ASC("1"))) Mag. Otto Atzwanger
by Otto
Tue Oct 04, 2011 7:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oGet:KeyChar()
Replies: 5
Views: 876

BtnBmp prompt

I would like to change the prompt on a BtnBmp during program execution. Consider: ... REDEFINE BTNBMP oBtn1 RESOURCE "ADD" PROMPT "Add" .... Later I want to change the prompt to "Confirm" oBtn1:SetText("confirm") eliminates the bitmap ...
by TimStone
Wed Sep 14, 2011 4:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp prompt
Replies: 3
Views: 612

TBTNBMP no me funciona CANCEL

Ola amigos

Tentei usar da seguite forma

REDEFINE BTNBMP oBtn1 ID 4009 OF oDlg ACTION( lSair := .T., oDlg:End() ) LEFT 2007 NOBORDER CANCEL

A clausula CANCEL nao funciona como fazer para funcionar

Fico no Aguardo
by miragerr
Wed Aug 24, 2011 2:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TBTNBMP no me funciona CANCEL
Replies: 2
Views: 511

Re: dialog creation ..

Uwe,

I don't think he needs the row and col when using bMMoved. He just needs to popup something when the cursor is over the button. Something like this:

oBtn1:bMMoved := { || msgInfo() }

Regards,
James
by James Bott
Sat Aug 20, 2011 3:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: dialog creation ..
Replies: 18
Views: 3149

Re: dialog creation ..

James, oBtn1:bMMoved := {| nRow, nCol | MsgAlert( ALLTRIM( STR(nRow)), ALLTRIM( STR(nCol)) ) } will show nRow and nCol from inside the Button . That is the reason, I used : oDlg:bMMoved := {| nRow, nCol | MsgAlert( ALLTRIM( STR(nRow)), ...
by ukoenig
Sat Aug 20, 2011 3:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: dialog creation ..
Replies: 18
Views: 3149

Re: RibbonBar-ALT-key -tooltip

Hello Antonio, tooltip on button seems to be broken again. I tested ribbon.prg from FWH/samples with oBtn1:cTooltip := { || "___________________" + CRLF + "? Drücken Sie F1, um die Hilfe anzuzeigen" } Best regards, Otto #include "fivewin.ch"#include ...
by Otto
Mon Jul 11, 2011 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RibbonBar-ALT-key -tooltip
Replies: 6
Views: 2027

Re: Dialog NOWAIT does not go to background

... oWnd ; TITLE 'Background-, Title-, xBrowse-, Logo-, Border- and Font-editor => Release 1.1 / June 2011' @ nSHeight - 130, nSWidth - 260 BTNBMP oBtn1 OF oWnd ; SIZE 100, 50 PIXEL 2007 ; NOBORDER ; PROMPT " &Tools" ; FILENAME c_path + "\Bitmaps\Select.Bmp" ; ACTION oDlg:Show() ...
by ukoenig
Thu Jun 30, 2011 9:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dialog NOWAIT does not go to background
Replies: 5
Views: 1268

Re: Trivial question

Marco, there are 3 Button-classes : TButton, TButtonBmp and TBtnBmp @ 130, 20 BTNBMP oBtn1 OF oDlg ; SIZE 70, 35 PIXEL 2007 ; NOBORDER ; PROMPT " Button 4" + CRLF + " Test" ; FILENAME "..\bitmaps\16x16\garrow.bmp" ; ACTION oDlg:End() ...
by ukoenig
Mon Jun 20, 2011 10:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trivial question
Replies: 6
Views: 1186

Re: Diseñador de RibbonBar - En desarrollo

Victor segun pude ver el error al Load From, se debe a la ruta en el PRG está definido oHrb = HB_CompileFromBuf( cCode, "-n", "-Ic:\fwh\include", "-Ic:\harbour\include" ) si no lo tienes asi te da el error respecto a bitmaps, yo los diseño desde disco y luego cambio el ...
by postinelli
Thu Jun 09, 2011 5:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Diseñador de RibbonBar - En desarrollo
Replies: 49
Views: 13331

Re: Changing the tTitle text at runtime

... Title, only the Textobject. This button ( on Mainwindow ) changes the Text defined in Title 1. // Style 2007 // ------------- @ 580, 300 BTNBMP oBtn1 OF oWnd ; SIZE 200, 80 ; PROMPT "&Change Text" 2007 ; FONT oFont2 CENTER ; ACTION oText1:SetText("FIVEWIN 9.10") There ...
by ukoenig
Sat May 07, 2011 4:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Changing the tTitle text at runtime
Replies: 7
Views: 1190

Class < BtnBmp > changing to Style 2007 at Runtime ?

... Color, Gradient and Transparent at Runtime, but cannot switch back to Style 2007. On init, there is no problem. Maybe a combination needed with : oBtn1:l2007 := .T. http://www.pflegeplus.com/pictures/btnstyle1.jpg REDEFINE BTNBMP oBtn1 ID 500 OF oWndBtnB  2007 ;FILENAME c_path ...
by ukoenig
Tue Mar 22, 2011 3:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Class < BtnBmp > changing to Style 2007 at Runtime ?
Replies: 1
Views: 798

Refrescar datos en Folder - SOLUCIONADO

... DIALOG oDlg1 CENTERED oFont:end() oFont1:end() SELECT(cAlias) DBGOTO(nRec) RETURN NIL FUNCTION CatchCta( oCuenta, cCTABCO ) * LOCAL oDlg, oBrw, oBtn1, oBtn2, oBtn3, oBtn4, oBtn5 LOCAL nRec, lOk := .F. LOCAL cAlias := ALIAS() * ---Initialize database file. SELECT Cta DBGOTOP() * * ---Main execution ...
by Armando Picon
Mon Feb 28, 2011 6:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Refrescar datos en Folder - SOLUCIONADO
Replies: 9
Views: 1663

Different Size BTNBMP from Code / Resource ?

... ( from Resources ). The Preview shows the Buttons nearly Factor * 2 Painter ( from Resource ) Button defined 100 x 50 ... ... REDEFINE BTNBMP oBtn1 ID 500 OF oWndBtnB 2007 ; FILENAME c_path + "\Bitmaps\32Exit.bmp" ; LEFT ; PROMPT " &Exit" ; FONT oTextFont ; ACTION ( ...
by ukoenig
Mon Feb 21, 2011 1:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Different Size BTNBMP from Code / Resource ?
Replies: 0
Views: 294
PreviousNext

Return to advanced search