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, ...
... 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
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 ...
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)), ...
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 ...
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 ...
... 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 ...
... 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 ...