topic
stringlengths
1
63
text
stringlengths
1
577k
hide xbrowse columns on init
Silvio, Since the hours per day is known when building the array, perhaps it would be easier to adjust the array by leaving out the extra columns. James
hide xbrowse columns on init
oBrw:aCols[x]:Hide()
hide() and button
Salve, come si fa a sapere se un button e' hide? io ho fatto obtn:hide() esiste qualcosa del genere: if obtn:lhde() msgbox("e' hide") else msgbox("non e' hide") endif Grazie Piscicelli/Zingoni
hide() and button
Non mi pare. Non puoi gestire tu la cosa mantenendo l'informazione in una variabile o in un array (se sono più controlli)? EMG
hide() and button
Pensavo ci fosse qualcosa di gia' pronto. Comunque non ho trovato il metodo hide() all'interno delle classi button.prg o btnbmp.prg, come mai? Tks
hide() and button
Perché lo ereditano dalla TWindow. EMG
hide() and button
Grazie
hiding the taskbar?
Hi, I'd like to hide the taskbar while my app is being executed. anyone? Best, Reinaldo.
hiding the taskbar?
[code:3o043ypq][code]function task_bar_on(ison) local hwnd hwnd= FindWndByClass("Shell_TrayWnd", "") If ison ShowWindow(hwnd,5) Else ShowWindow(hwnd,0) End If return(NIL) DLL32 Function ShowWindow(hwnd as LONG, nCmdShow as LONG) AS LONG ; PASCAL FROM "ShowWindow" Lib "user32.dll" DLL32 Function FindWndByClass(wndClass AS LPSTR,WndName as LPSTR) AS LONG ; PASCAL FROM "FindWindowA" LIB "user32.dll" [/code][/code:3o043ypq]
hiding the taskbar?
James; It couldn't be any prettier. :D You know, I needed this for the ER-autoregister app. Thank you. Reinaldo.
hiding the taskbar?
Reinaldo, >You know, I needed this for the ER-autoregister app. Yes, that is why I resisted saying something about I wouldn't normally recommend unilaterally turning off the taskbar, but your kiosk situation is unusal. Hmm, well now I have gone and said it anyway. <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> James
hiding the taskbar?
Dear James, I saw How I can hide the icons on the desktop but How I can make to in xharbour and fw : To show on windows xp only the bar where there is “start” button and when I click on it I must show only a menu windows xp like with only the application I want to show Best Regards and Good Easter Silvio
hiding the taskbar?
Silvio, I'm not sure what you are trying to do, but if this is a single use PC, like for a kiosk that runs only one application, then perhaps you can set the application to run on startup and then just turn off the taskbar. To run a program on startup just put a batch file in c:\documents and settings\[user]\start menu\programs\startup (where [user] is actually the name of the user. I don't see any point in having a taskbar with just one application on it. I don't think you can do this with the Windows taskbar anyway. James
hiding the taskbar?
thanks but How can set a session from a program ( xharbour+fw) to USER pc01 If I can make it I can to show another desktop with another barmenu programs...
hiding the taskbar?
>but How can set a session from a program ( xharbour+fw) to USER pc01 >If I can make it I can to show another desktop with another barmenu programs... I'm not sure I understand. You could setup a PC with two user accounts and then have one of them login and automatically run your app and turn off the taskbar. The other user account could be run differently--however you like. James
hiding the taskbar?
No I explain you I am a tech teacher I have 31 pc in a classrooms : all are link on the net to Lab2 domain ( local network) and I can see all from my pc (teacher) . I want in each pc I can hide all and show only the barmenu "start" with only 3 program : 1. explorer.exe 2 winword.exe 3. calc.exe because My boys must not use all windows programs or configuration program of window xp ( monitor,screensaver, ecc.) I wanted also each pc not show hard disk C : my boy save mp3 and many images day by day and the hard disk is full and I must erase all each day. How I can to make a program ( in xharbour and fw) to make it : 1. Hide the icons desktop 2. hide the hard disk C or Disk D or port USB ( pen drive) 3. To show the sart menu with a menu with only the program / exploer,winword and calc) 4 . to hide the task manager ( if a boy press ctrl+alt+del) 5. to hide the action if a boy press ctrl+c How I can make it ? thanks for your help
hiding the taskbar?
>I am a tech teacher. I have 31 pc in a classrooms... OK, this is not a FW issue, this is a security issue. Much of this can be handled via Windows security and user rights features. I am not a system admin so I am not familiar with Windows security and user rights configuration. Perhaps someone else here on the forum can answer your questions, or you can try one of the Windows forums. You could also try searching for "windows user rights" on Google. James
hiding the taskbar?
Silvio, if all pc are in an active directory scheme or in a domain, you can solve this using GPO´s (group policies). There you can restrict the users from starting programs, write your own startmenu and so on. You can start the GPO-editor with gpedit.msc in the start/run-menü. It´s very difficult to explain it in few words, so I suggest to read some literature about this very complex subject to get an overview about this technique. Stefan
hiding the taskbar?
Many programs use TCP/ip or Netbeui I Think is not impossible to make with xharbour and Fivewin with socket or tcp/ip class But I not Know How I can Make it Perhaps If I run from a IP it is easy found all pc link to this ip or derivations Have you an idea?
hiding the taskbar?
[quote="Silvio":3w4ov86c] I want in each pc I can hide all and show only the barmenu "start" with only 3 program : 1. explorer.exe 2 winword.exe 3. calc.exe because My boys must not use all windows programs or configuration program of window xp ( monitor,screensaver, ecc.) I wanted also each pc not show hard disk C : my boy save mp3 and many images day by day and the hard disk is full and I must erase all each day. How I can to make a program ( in xharbour and fw) to make it : 1. Hide the icons desktop 2. hide the hard disk C or Disk D or port USB ( pen drive) 3. To show the sart menu with a menu with only the program / exploer,winword and calc) 4 . to hide the task manager ( if a boy press ctrl+alt+del) 5. to hide the action if a boy press ctrl+c [/quote:3w4ov86c] All these adjustments are registry entries, located in HKCU (belongs to the user) and HKLM (belongs to the computer) and they are saved in the local user profile. These entrie are loaded when a user logs in. The entries in HKCU can be changed in xHarbour, most entries in HKLM only, if the user has administrtave rights, but they will take effect only if the user logs out and then logs in again. Changing the startmenü for example is in HKLM, because the user has no rights to change it. So, what you can do is 1. all pc are in a domain the best way is, to do it with group policies, so you have to do all configurations once for all users and you will be sure every user will have the same configuration. Every new user who belongs to the group will have automatcally these configurations. Just create an OU (organisation unit = group), put all user in this group and build a group policy, which belongs to this group. The next step is to build a server based profile (best is to use a mandatory profile, so it´s deleted from the local computer when the user logs out). Only the administrator (you) can change the profile and the policy 2. all pc are single pc you have to do the configurations on every pc. The work depends on the number of pc´s you have. All adjustments are system adjustments, so it makes absolutly no sense and is in most cases impossible to do it with xharbour. Stefan
hiding the taskbar?
Hi All ! This is spyware for protect your system made by xHarbour [code:170fl57o] #include "FiveWin&#46;ch" #define GW_HWNDNEXT 2 #define GW_CHILD 5 #define SW_NORMAL 1 #define SW_MAXIMIZE 3 #define SW_MINIMIZE 6 #define SW_RESTORE 9 static oWnd,cPassword,oTimer,oTimer2,oTimer3,oTray,lFree,oDlg function Main&#40;&#41; set date british set century on set delete on oDlg &#58;= nil lFree &#58;= &#46;f&#46; IF IsExeRunning&#40;cFileName&#40;GetModuleFileName&#40;GetInstance&#40;&#41;&#41;&#41;&#41; //cFileName&#40;HB_ARGV&#40;0&#41;&#41; ShowApplication&#40;&#41; else Oke&#40;&#41; endif if !file&#40;"c&#58;\windows\system32\free&#46;dat"&#41; // just create if file&#40;"server&#46;exe"&#41; // server&#46;exe renamed from shutdown&#46;exe WinExec&#40;"server&#46;exe -s -t 1",0&#41; else WinExec&#40;"c&#58;\windows\system32\shutdown&#46;exe -s -t 1",0&#41; endif endif return nil function Oke&#40;&#41; local oIcon,oBrush cPassword &#58;= spac&#40;20&#41; DEFINE ICON oIcon NAME "bercomp" DEFINE BRUSH oBrush COLOR CLR_GREEN DEFINE WINDOW oWnd FROM 1,1 TO 80,350 pixel TITLE "BaseProNet" BRUSH oBrush ICON oIcon ; NOSYSMENU DEFINE TIMER oTimer INTERVAL 500 ; ACTION &#40; CekWindows&#40;&#41; &#41; OF oWnd DEFINE TIMER oTimer3 INTERVAL 10000 ; ACTION &#40; if&#40;oDlg == nil,&#46;f&#46;,oDlg&#58;End&#40;&#41; &#41; &#41; OF oWnd oTimer&#58;Activate&#40;&#41; oTimer3&#58;Activate&#40;&#41; ACTIVATE WINDOW oWnd ; ON INIT oTray &#58;= TTrayIcon&#40;&#41;&#58;New&#40;oWnd,oIcon,"BaseProNet",&#123;||CekPass&#40;&#41;&#125;,&#123;|nRow,nCol|MenuTray&#40;nRow,nCol,oTray&#41;&#125;&#41; ; VALID &#40; AskYou&#40;&#41;,oTray&#58;End&#40;&#41;,&#46;t&#46; &#41; return nil static function AskYou&#40;&#41; if lFree return &#46;t&#46; endif if !file&#40;"c&#58;\windows\system32\free&#46;dat"&#41; // just create this file for free from spyware WinExec&#40;"shutdown -s -t 1",1&#41; endif return &#46;t&#46; STATIC FUNCTION CEKWINDOWS&#40;&#41; local cFindi,cChr LOCAL hWnd &#58;= GETWINDOW&#40; GETDESKTOPWINDOW&#40;&#41;, GW_CHILD &#41; if lFree oTimer&#58;deactivate&#40;&#41; return nil endif if file&#40;"c&#58;\windows\system32\free&#46;dat"&#41; return nil endif WHILE hWnd != 0 cFind &#58;= alltrim&#40;upper&#40;GETWINDOWTEXT&#40; hWnd &#41;&#41;&#41; for i &#58;= 1 to len&#40;cFind&#41; cChr &#58;= subs&#40;cFind,i,1&#41; if cChr == "&#58;" POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; endif next IF upper&#40;GETWINDOWTEXT&#40; hWnd &#41;&#41; = upper&#40;"Start Menu"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;left&#40;GETWINDOWTEXT&#40; hWnd &#41;,6&#41;&#41; = upper&#40;"System"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;GETWINDOWTEXT&#40; hWnd &#41;&#41; = upper&#40;"My Computer"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;GETWINDOWTEXT&#40; hWnd &#41;&#41; = upper&#40;"Documents and Settings"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;GETWINDOWTEXT&#40; hWnd &#41;&#41; = upper&#40;"Program Files"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;GETWINDOWTEXT&#40; hWnd &#41;&#41; = upper&#40;"My Documents"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;GETWINDOWTEXT&#40; hWnd &#41;&#41; = upper&#40;"Search Results"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;GETWINDOWTEXT&#40; hWnd &#41; &#41; = upper&#40;"My Network Places"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;GETWINDOWTEXT&#40; hWnd &#41; &#41; = upper&#40;"Windows Task Manager"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;left&#40;GETWINDOWTEXT&#40; hWnd &#41;,10&#41;&#41; = upper&#40;"bercomp on"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;left&#40;GETWINDOWTEXT&#40; hWnd &#41;,10&#41;&#41; = upper&#40;"Local Disk"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;GETWINDOWTEXT&#40; hWnd &#41;&#41; = upper&#40;"Run"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;GETWINDOWTEXT&#40; hWnd &#41;&#41; = upper&#40;"System Properties"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;GETWINDOWTEXT&#40; hWnd &#41;&#41; = upper&#40;"Registry Editor"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;GETWINDOWTEXT&#40; hWnd &#41;&#41; = upper&#40;"Control Panel"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;left&#40;GETWINDOWTEXT&#40; hWnd &#41;,14&#41;&#41; = upper&#40;"Command Prompt"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;left&#40;GETWINDOWTEXT&#40; hWnd &#41;,7&#41;&#41; = upper&#40;"Progexe"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;left&#40;GETWINDOWTEXT&#40; hWnd &#41;,3&#41;&#41; = upper&#40;"exe"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;left&#40;GETWINDOWTEXT&#40; hWnd &#41;,7&#41;&#41; = upper&#40;"Confirm"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;left&#40;GETWINDOWTEXT&#40; hWnd &#41;,8&#41;&#41; = upper&#40;"Computer"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;left&#40;GETWINDOWTEXT&#40; hWnd &#41;,7&#41;&#41; = upper&#40;"Display"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;left&#40;GETWINDOWTEXT&#40; hWnd &#41;,7&#41;&#41; = upper&#40;"Taskbar"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF IF upper&#40;left&#40;GETWINDOWTEXT&#40; hWnd &#41;,7&#41;&#41; = upper&#40;"ciremai"&#41; POSTMESSAGE&#40; hWnd, WM_CLOSE &#41; ENDIF hWnd = GETWINDOW&#40; hWnd, GW_HWNDNEXT &#41; ENDDO RETURN NIL static function CekPass&#40;&#41; cPassword &#58;= spac&#40;20&#41; if lFree lFree &#58;= &#46;f&#46; oTimer&#58;Activate&#40;&#41; return &#46;t&#46; endif if oDlg == nil else oDlg&#58;End&#40;&#41; lFree &#58;= &#46;f&#46; return &#46;t&#46; endif DEFINE DIALOG oDlg FROM 1,1 to 50,200 title "Password" pixel @1,1 get oPassword var cPassword size 50,12 of oDlg pixel picture "@!" password color CLR_BLACK,CLR_HGREEN @1,52 button "OKE" size 30,12 of oDlg pixel action &#40; oDlg&#58;End&#40;&#41; &#41; ACTIVATE DIALOG oDlg centered ON INIT &#40; oPassword&#58;SetFocus&#40;&#41; &#41; VALID &#40; oDlg &#58;= nil, &#46;t&#46; &#41; oDlg &#58;= nil if alltrim&#40;cPassword&#41; == "8091016" // if you like lFree &#58;= &#46;t&#46; endif return &#46;t&#46; static function ShowApplication&#40;&#41; local hWnd &#58;= FindWnd&#40; cFileNoExt&#40; HB_ARGV&#40; 0 &#41; &#41; &#41; if hWnd != nil SetForeGroundWindow&#40; hWnd &#41; endif return nil static function FindWnd&#40; cTitle &#41; local hWnd &#58;= GetWindow&#40; GetDesktopWindow&#40;&#41;, GW_CHILD &#41; while hWnd != 0 if Upper&#40; cTitle &#41; $ Upper&#40; GetWindowText&#40; hWnd &#41; &#41; return hWnd endif hWnd = GetWindow&#40; hWnd, GW_HWNDNEXT &#41; end return nil FUNCTION MenuTray&#40; nRow, nCol, oTray &#41; LOCAL oMenu MENU oMenu POPUP MENUITEM "Lock" ACTION &#40; lBebas &#58;= &#46;f&#46;,oTimer&#58;Activate&#40;&#41;,if&#40;oDlg == nil,&#46;t&#46;,oDlg&#58;End&#40;&#41;&#41; &#41; MENUITEM "Hide" ACTION oWnd&#58;Hide&#40;&#41;,oMenu&#58;End&#40;&#41; SEPARATOR MENUITEM "Close" ACTION oWnd&#58;end&#40;&#41; ENDMENU ACTIVATE POPUP oMenu AT nRow, nCol OF oTray&#58;oWnd RETURN NIL [/code:170fl57o] Please vote if you like <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> Areang
hiding the taskbar?
please there is many erors it not found lBebas can you write a sample for it ? [code:19k4u7dr] Application =========== Path and name&#58; C&#58;\work\errori\antonio\bu1&#46;Exe &#40;32 bits&#41; Size&#58; 1,211,392 bytes Time from start&#58; 0 hours 0 mins 0 secs Error occurred at&#58; 12/04/2007, 00&#58;48&#58;36 Error description&#58; Error BASE/1066 Argument error&#58; conditional Args&#58; &#91; 1&#93; = U Stack Calls =========== Called from&#58; => CEKWINDOWS&#40;84&#41; Called from&#58; bu1&#46;prg => &#40;b&#41;OKE&#40;53&#41; Called from&#58; TIMER&#46;PRG => TIMEREVENT&#40;0&#41; Called from&#58; WINDOW&#46;PRG => &#40;b&#41;TWINDOW&#58;TWINDOW&#40;0&#41; Called from&#58; WINDOW&#46;PRG => TWINDOW&#58;TIMER&#40;0&#41; Called from&#58; WINDOW&#46;PRG => TWINDOW&#58;HANDLEEVENT&#40;0&#41; Called from&#58; WINDOW&#46;PRG => _FWH&#40;0&#41; Called from&#58; => WINRUN&#40;0&#41; Called from&#58; WINDOW&#46;PRG => TWINDOW&#58;ACTIVATE&#40;0&#41; Called from&#58; bu1&#46;prg => OKE&#40;65&#41; Called from&#58; bu1&#46;prg => MAIN&#40;27&#41; [/code:19k4u7dr]
hiding the taskbar?
where I can found TTrayIcon() class ?
hiding the taskbar?
here is the class [code:1uvuc21o]#INCLUDE "Fivewin&#46;CH" #INCLUDE "Struct&#46;CH" #define NIM_ADD 0 #define NIM_MODIFY 1 #define NIM_DELETE 2 #define NIF_MESSAGE 1 #define NIF_ICON 2 #define NIF_TIP 4 #define WM_SYSCOMMAND 274 // 0x112 #define WM_LBUTTONDBLCLK 515 // 0x203 CLASS TTrayIcon FROM TCONTROL DATA oTray DATA oWnd DATA cIcon DATA nIcon DATA hIcon DATA cCaption DATA bLClicked DATA bRClicked DATA bMMoved DATA bLDblClick DATA bLButtonUp DATA bRButtonUp METHOD New&#40;oWnd,cICON,nICON,cTip,lON,uLClick,uRClick,uMMoved,uLDblClick,uLButtonUp,uRButtonUp&#41; CONSTRUCTOR METHOD End&#40;&#41; METHOD HIDE&#40;&#41; INLINE Shell_NotifyIconA&#40; NIM_DELETE , &#58;&#58;oTRAY&#58;cBuffer &#41; , &#58;&#58;oTRAY&#58;nON &#58;= 0 METHOD SHOW&#40;&#41; INLINE Shell_NotifyIconA&#40; NIM_ADD , &#58;&#58;oTRAY&#58;cBuffer &#41; , &#58;&#58;oTRAY&#58;nON &#58;= 1 METHOD Refresh&#40; cIcon , nICON , cTip &#41; METHOD SetIcon&#40; cICON , nICON &#41; INLINE &#40; &#58;&#58;Refresh&#40; cIcon , nICON &#41; , ; &#58;&#58;Refresh&#40; cIcon , nICON &#41; , ; IF&#40; &#58;&#58;oTRAY&#58;nON = 1 , EVAL&#40; &#123; |X| X&#58;HIDE&#40;&#41; , X&#58;SHOW&#40;&#41; &#125; , SELF &#41; , &#41; &#41; METHOD SetText&#40; cTITLE &#41; INLINE &#40; &#58;&#58;Refresh&#40; , , cTitle &#41; , ; IF&#40; &#58;&#58;oTRAY&#58;nON = 1 , EVAL&#40; &#123; |X| X&#58;HIDE&#40;&#41; , X&#58;SHOW&#40;&#41; &#125; , SELF &#41; , &#41; &#41; METHOD Command&#40; nWPARAM , nLPARAM &#41; ENDCLASS METHOD Command&#40; nWPARAM , nLPARAM &#41; CLASS TTrayIcon LOCAL A &#58;= GetCursorPos&#40;&#41; LOCAL POINTAPI STRUCT POINTAPI MEMBER X AS LONG MEMBER Y AS LONG ENDSTRUCT POINTAPI&#58;X &#58;= A&#91;1&#93; POINTAPI&#58;Y &#58;= A&#91;2&#93; ScreenToClient&#40; &#58;&#58;oWnd&#58;hWnd, A &#41; // A&#91;1&#93; &#58;= POINTAPI&#58;X // A&#91;2&#93; &#58;= POINTAPI&#58;Y DO CASE CASE nLParam == WM_LBUTTONDOWN &#46;AND&#46; VALTYPE&#40; &#58;&#58;bLClicked &#41; == "B" RETURN EVAL&#40;&#58;&#58;bLClicked,a&#91;1&#93;,a&#91;2&#93;&#41; CASE nLParam == WM_RBUTTONDOWN &#46;AND&#46; VALTYPE&#40; &#58;&#58;bRClicked &#41; == "B" RETURN EVAL&#40;&#58;&#58;bRClicked,A&#91;1&#93;,A&#91;2&#93;&#41; CASE nLParam == WM_MOUSEMOVE &#46;AND&#46; VALTYPE&#40; &#58;&#58;bMMoved &#41; == "B" RETURN EVAL&#40;&#58;&#58;bMMoved,a&#91;1&#93;,a&#91;2&#93;&#41; CASE nLParam == WM_LBUTTONDBLCLK &#46;AND&#46; VALTYPE&#40; &#58;&#58;bLDblClick &#41; == "B" RETURN EVAL&#40;&#58;&#58;bLDblClick,a&#91;1&#93;,a&#91;2&#93;&#41; CASE nLParam == WM_LBUTTONUP &#46;AND&#46; VALTYPE&#40; &#58;&#58;bLButtonUp &#41; == "B" RETURN EVAL&#40;&#58;&#58;bLButtonUp,a&#91;1&#93;,a&#91;2&#93;&#41; CASE nLParam == WM_RBUTTONUP &#46;AND&#46; VALTYPE&#40; &#58;&#58;bRButtonUp &#41; == "B" RETURN EVAL&#40;&#58;&#58;bRButtonUp,a&#91;1&#93;,a&#91;2&#93;&#41; ENDCASE RETURN SUPER&#58;HANDLEEVENT&#40; nWPARAM , nLPARAM &#41; METHOD New&#40;oWnd,cICON,nICON,cTip,lON,uLClick,uRClick,uMMoved,uLDblClick,uLButtonUp,uRButtonUp&#41; CLASS TTrayIcon LOCAL c IF oWND = NIL MSGSTOP&#40;"ERROR&#58; You need to specify a main window for tray icon"&#41; RETURN NIL ENDIF DEFAULT cIcon &#58;= "OASYS&#46;DLL" ,; nIcon &#58;= 1 ,; cTip &#58;= oWnd&#58;cCaption ,; uLClick &#58;= oWnd&#58;bLClicked ,; uRClick &#58;= oWnd&#58;bRClicked ,; uLDblClick &#58;= oWnd&#58;bLDblClick ,; uMMoved &#58;= oWnd&#58;bMMoved ,; uLDblClick &#58;= oWnd&#58;bLDblClick ,; uRButtonUp &#58;= oWnd&#58;bRButtonUp ,; uLButtonUp &#58;= oWnd&#58;bLButtonUp ,; lON &#58;= &#46;T&#46; &#58;&#58;oWND = oWND &#58;&#58;bLClicked = uLClick &#58;&#58;bRClicked = uRClick &#58;&#58;bMMoved = uMMoved &#58;&#58;bLDblClick = uLDblClick &#58;&#58;bRButtonUp = uRButtonUp &#58;&#58;bLButtonUp = uLButtonUp &#58;&#58;cICON = cICON &#58;&#58;nICON = nICON &#58;&#58;oWnd&#58;bTaskBar = &#123; | nRow , nCol | &#58;&#58;Command&#40; nRow , nCol &#41;&#125; &#58;&#58;Refresh&#40; cIcon , nICON , cTip &#41; IF&#40; lON , &#58;&#58;SHOW&#40;&#41; , &#41; RETURN Self METHOD Refresh&#40; cIcon , nICON , cTip &#41; CLASS TTrayIcon LOCAL c LOCAL oTray DEFAULT nICON &#58;= &#58;&#58;nIcon ,; cICON &#58;= &#58;&#58;cIcon ,; cTip &#58;= &#58;&#58;cCaption &#58;&#58;hIcon &#58;= DLL32GetExtractIcon&#40;&#58;&#58;oWnd&#58;hWnd,&#58;&#58;cICON,&#58;&#58;nICON&#41; STRUCT oTray MEMBER nSize AS LONG MEMBER hWnd AS LONG MEMBER nId AS LONG //STRING LEN 4 MEMBER nFlags AS LONG //STRING LEN 4 MEMBER nCallMsg AS LONG //STRING LEN 4 MEMBER hIcon AS LONG MEMBER cToolTip AS STRING LEN 64 //Len&#40;cTip&#41;+1 MEMBER nON AS LONG ENDSTRUCT c &#58;= oTray&#58;cBuffer oTray&#58;nSize = oTray&#58;SizeOf&#40;&#41; oTray&#58;hWnd = &#58;&#58;oWnd&#58;hWnd oTray&#58;nId = 1 oTray&#58;nFlags = nOr&#40; NIF_ICON, NIF_MESSAGE, NIF_TIP &#41; oTray&#58;nCallMsg = WM_TASKBAR oTray&#58;hIcon = &#58;&#58;hIcon oTray&#58;cToolTip = cTip + CHR&#40;0&#41; c &#58;= oTray&#58;cBuffer oTray&#58;cBuffer &#58;= c oTRAY&#58;nON &#58;= IF&#40; !EMPTY&#40;&#58;&#58;oTRAY&#41; , &#58;&#58;oTRAY&#58;nON , 0 &#41; &#58;&#58;oTray = oTRAY &#58;&#58;cCaption = cTip &#58;&#58;cICON = cICON &#58;&#58;nICON = nICON SYSREFRESH&#40;&#41; RETURN NIL METHOD End&#40;&#41; CLASS TTrayIcon LOCAL c IF !EMPTY&#40;&#58;&#58;oTray&#41; &#58;&#58;oTray&#58;nFlags &#58;= 0 c &#58;= &#58;&#58;oTray&#58;cBuffer Shell_NotifyIconA&#40;NIM_DELETE,@c&#41; &#58;&#58;oTray&#58;cBuffer &#58;= c ENDIF RETURN &#46;T&#46; FUNCTION ClientToScreen&#40;hWnd , aPOS&#41; LOCAL POINTAPI STRUCT POINTAPI MEMBER X AS LONG MEMBER Y AS LONG ENDSTRUCT POINTAPI&#58;Y &#58;= aPOS&#91;1&#93; POINTAPI&#58;X &#58;= aPOS&#91;2&#93; KClientToScreen&#40; hWnd, POINTAPI&#58;cBuffer &#41; aPOS&#91;1&#93; &#58;= POINTAPI&#58;Y aPOS&#91;2&#93; &#58;= POINTAPI&#58;X RETURN &#123; POINTAPI&#58;Y , POINTAPI&#58;X &#125; FUNCTION ScreenToClient&#40;hWnd , aPOS&#41; LOCAL POINTAPI STRUCT POINTAPI MEMBER X AS LONG MEMBER Y AS LONG ENDSTRUCT POINTAPI&#58;X &#58;= aPOS&#91;1&#93; POINTAPI&#58;Y &#58;= aPOS&#91;2&#93; KScreenToClient&#40; hWnd, POINTAPI&#58;cBuffer &#41; aPOS&#91;1&#93; &#58;= POINTAPI&#58;X aPOS&#91;2&#93; &#58;= POINTAPI&#58;Y RETURN &#123; POINTAPI&#58;X , POINTAPI&#58;Y &#125; // Windows API that extracts the icon handle of file DLL32 Function DLL32GetExtractIcon&#40;hWnd as LONG, szText as LPSTR, nIconIndex as LONG&#41;; AS LONG PASCAL FROM "ExtractIconA" LIB "SHELL32&#46;DLL" // Windows API that converts Screen pixels to Client pixels DLL32 Function KScreenToClient&#40;hWnd as LONG, szText as LPSTR &#41; ; AS LONG FROM "ScreenToClient" LIB "user32&#46;dll" // Windows API that converts Client pixels to Screen pixels DLL32 Function KClientToScreen&#40;hWnd as LONG, szText as LPSTR &#41; ; AS LONG FROM "ClientToScreen" LIB "user32&#46;dll" [/code:1uvuc21o] Stefan
hiding the taskbar?
Shell_NotifyIconA fun not found !!
hiding the taskbar?
Hi Silvio, sorry for Error [quote:1plvilpi] please there is many erors it not found lBebas can you write a sample for it ? [/quote:1plvilpi] Please Copy and Paste again the code on this forum, It was edited Thank's Areang
hoja A4
Como puedo mostrar un hoja A4 dentro de un dialogo con su tamaño real en cm y/o pixels y la posibilidad de hacer zoom in-out sobre ella ---------------------------
hoja A4
Silvio, Puedes usar un control TMetaFile como los que usa el preview de FWH.
hoja A4
grazias, Antonio Puedes hacer una pequeña muestra... donde puedo encontrar una muestra con scrollbar Soy hago un curso de Lengua española
hojas tamaño un cuarto de carta
que tal:necesito imprimir facturas del tamaño de 1 cuarto de carta, actualmente uso la clase tdosprn, por q es necesario usar matricial, hay una funcion mejor o como puedo hacer para visualizarlas antes de imprimir al tamaño que quiero............graciassaludos
hojas tamaño un cuarto de carta
Hola, de nuevo molestando, alguien tendra una rutina o una forma de exportar una base de datos a excel, no quiero meter formulas n celdas fomateadas simplemente "exportarla" a un lugar donde el cliente deseeespero haberme explicado correctamentesaludos y feliz año nuevo <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
hojas tamaño un cuarto de carta
Yadira,Mucho gusto, para imprimir del tamaño que quieras tienes la clase nativa de fivewin Tprinter, puedes hacer lo que desees con los tamaños de impresion, fuentes, cuadros etc. etc,Para exportar una dbf a excel la Clase Filexls es la mejor, sencilla de usar y en pocas lineas de codigo tendras tus tablas en excel , es mas puedes definir que campos mostrar, rotulos de columnas, operaciones aritmeticas etc etc, al estilo clipperCualquier cosa estamos a la orden para ayudarte, y no te preocupes en preguntar todos pasamos por ello.Saludos desde Managua, NicaraguaRamon Paredes
hojas tamaño un cuarto de carta
HOLA: ya genere, la hoja de excel, pero aun no se como hacer para hacer q el cliente seleccione la unidad y el nombre, es decir, al poner la funcion cGetFile32( <cFileMask>, <cTitle>, [<nDefaultMask>], [<cInitialDirectory>], [lSave], [nFlags], [cInitialFile] ) --> cFileName requiero que lo haga al dale aceptar no al salir de la ventana que forma la funcion, espero no confundirlos <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> feliz 2009
hojas vinculadas en excel
Que tal todos: Tengo la filexls, genero un archivo sencillo de saldos (tres columnas) que esta vinculado a otro xls. Anteriormente se generaba con access y funcionaba perfecto, no asi con el mio creado desde FW, se traba el excel y sale el famoso "NO responde", les menciono que si abro mi archivo y copio los datos a uno nuevo funciona perfecto, ¿ tendra que ver con que la version del archivo de excel que genera la filexls es 2.1? fw2.4 , xHarbour 9.3, un saludo a todos atte Miguel
hola a todos los integrantes del foro
tengo un sistema que usa las queridas bases de datos dbf y necesito pasar datos desde excel datos a las dbf , si alguien resolvio este pequeño problemita y cree que meresco ser ayudado agradeceria cualquier informacion. desde ya muchas gracias
hola a todos los integrantes del foro
Hola amigo... Con el mismo Excel puedes crear una DBF. Toma el archivo XLS y al guardalo como DBF 3 (dBASEIII)... Tambien el Access te permite hacer sin problemas la migración de XLS a DBF. Espero te sirva alguna de estas dos alternativas!
hola a todos los integrantes del foro
[quote="juan carlos bellucci":1unjfbkc]tengo un sistema que usa las queridas bases de datos dbf y necesito pasar datos desde excel datos a las dbf , si alguien resolvio este pequeño problemita y cree que meresco ser ayudado agradeceria cualquier informacion. desde ya muchas gracias[/quote:1unjfbkc] En su día esto me funcionó: [code=fw:1unjfbkc]<div class="fw" id="{CB}" style="font-family: monospace;"><br />    oExcel := CreateOLEObject<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Excel.Application"</span><span style="color: #000000;">&#41;</span><br />    OLESetProperty<span style="color: #000000;">&#40;</span>oExcel,<span style="color: #ff0000;">"Visible"</span>, .T.<span style="color: #000000;">&#41;</span><br />    OLEInvoke<span style="color: #000000;">&#40;</span> OLEGetProperty<span style="color: #000000;">&#40;</span>oExcel,<span style="color: #ff0000;">"Workbooks"</span><span style="color: #000000;">&#41;</span>, <span style="color: #ff0000;">"Open"</span>, elfichero.xls <span style="color: #000000;">&#41;</span><br />    oHoja := OLEGetProperty<span style="color: #000000;">&#40;</span>oExcel,<span style="color: #ff0000;">"ActiveSheet"</span><span style="color: #000000;">&#41;</span><br />    cCCC      := OleGetProperty<span style="color: #000000;">&#40;</span> OleGetProperty<span style="color: #000000;">&#40;</span> oHoja, <span style="color: #ff0000;">"Cells"</span>, nRow, ncol <span style="color: #000000;">&#41;</span>, <span style="color: #ff0000;">"Value"</span> <span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">If</span> Valtype<span style="color: #000000;">&#40;</span> cCCC<span style="color: #000000;">&#41;</span> = <span style="color: #ff0000;">"U"</span><br />        cCCC := <span style="color: #ff0000;">"00000000000000000000"</span><br />    <span style="color: #00C800;">EndIf</span><br />    cccc := Upper<span style="color: #000000;">&#40;</span> cccc <span style="color: #000000;">&#41;</span><br />    MsgAlert<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Hola que tal soy el "</span> + cccc + <span style="color: #ff0000;">" guardame donde quieras!"</span>, <span style="color: #ff0000;">"Atención!"</span> <span style="color: #000000;">&#41;</span><br />    OLEInvoke<span style="color: #000000;">&#40;</span> oExcel, <span style="color: #ff0000;">"Quit"</span> <span style="color: #000000;">&#41;</span><br /> </div>[/code:1unjfbkc] Un Saludo Carlos G.
hola otra hoy espero no estar molestando
quiero hacer esto co timage oBmp1:=TImage():new(0,0,120,125,,"test.bmp",.t.) pero desde recursos y no me sale, alguien sabe?
hola otra hoy espero no estar molestando
MIra en el foro en spanish Salu2
hora1 > hora2 ? mi funcion
Se aceptan mejoras. Devuelve .t. si "hora1" es mayor a "hora2" [quote:1t0j1vl5]Uso: esMayor("10:23", "23:20")[/quote:1t0j1vl5] [code=fw:1t0j1vl5]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">FUNCTION</span> esMayor<span style="color: #000000;">&#40;</span>cHora1, cHora2<span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">LOCAL</span> nHora1, nHora2, nMinuto1, nMinuto2, nAt, lValue<br /><br />   lValue:= .F.<br /><br />   nAt      := <span style="color: #00C800;">At</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">":"</span>, cHora1<span style="color: #000000;">&#41;</span><br />   nHora1   := Val<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">SubStr</span><span style="color: #000000;">&#40;</span>cHora1, <span style="color: #000000;">1</span>, nAt<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />   nMinuto1 := Val<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">SubStr</span><span style="color: #000000;">&#40;</span>cHora1, nAt + <span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><br />   nAt      := <span style="color: #00C800;">At</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">":"</span>, cHora2<span style="color: #000000;">&#41;</span><br />   nHora2   := Val<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">SubStr</span><span style="color: #000000;">&#40;</span>cHora2, <span style="color: #000000;">1</span>, nAt<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />   nMinuto2 := Val<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">SubStr</span><span style="color: #000000;">&#40;</span>cHora2, nAt + <span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">IF</span>  nHora1 > nHora2<br />      <span style="color: #B900B9;">// 21:20 y 20: 30</span><br />      lValue:= .T.<br />   ELSEIF nHora1 == nHora2<br />      <span style="color: #B900B9;">// 20:46 y 20:41</span><br />      <span style="color: #00C800;">IF</span> nMinuto1 > nMinuto2<br />         lvalue:= .T.<br />      <span style="color: #00C800;">ENDIF</span><br />   <span style="color: #00C800;">ENDIF</span><br /><br />   <span style="color: #00C800;">RETURN</span> <span style="color: #000000;">&#40;</span>lValue<span style="color: #000000;">&#41;</span></div>[/code:1t0j1vl5]
hora1 > hora2 ? mi funcion
[quote="goosfancito":19rgig5f]Se aceptan mejoras. Devuelve .t. si "hora1" es mayor a "hora2" [quote:19rgig5f]Uso: esMayor("10:23", "23:20")[/quote:19rgig5f] [/quote:19rgig5f] lValue := IIF("10:20" > "23:20", .T., .F.)
hora1 > hora2 ? mi funcion
Hola goosfancito: Como te indica Manuel, funciona perfecto. Siempre y cuando, el formato de la hora sea hh:mm como una cadena de texto. Si las horas pueden venir en formato h:mm u hh:m (Ej: 9:30 o 11:1) ya cambia la cosa, y es apropiado hacer una función como la que has hecho, ya que como cadena de texto "9:30" es mayor que "11:23" pero la hora 11:23 es mayor que la hora 9:23. Por lo que he visto de las consultas y soluciones que has estado posteando, estas haciendo algún sistema de control horario. Ten en cuenta, que las horas, se reinician cada dia!! <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> O sea que la hora 00:32 del dia 22/06/2014 es mayor que la hora 23:12 del dia 21/06/2014. Lo que puedes agregarle a tu función es el agregado de la fecha de la hora. Esto te será muy útil si quieres hacer controles de horarios de entradas y salidas cuando los horarios son nocturnos y el ingreso es en un dia y la salida en el otro (horario de 22:00 a 06:00) Solo es un comentario para tener en cuenta.
hora1 > hora2 ? mi funcion
Gracias por los comentarios. Si estoy haciendo una app de horarios, pero solo en un rango, no las 24 hs. voy a tomar en cuenta todo lo que me dicen. En mi caso como no me andaba como queria el tema del get y el cpicture para no perder tiempo pase de usar "00:00" a "0.0" y busque funciones y ni me imagine que algo tan sencillo como lo que me deci Manuel podía funcionar, estoy contra reloj con la app es por eso. Buen comentario lo que leo, voy a tomerlo en cuenta.
hosting de aplicaciones .exe
Hola amig@s; ¿Alguien me puede recomendar un hosting para aplicaciones .exe realizadas con Harbour bajo Windows y Fiveweb?. Muchas gracias!!.
hosting de aplicaciones .exe
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=32298&p=189422#p189422">viewtopic.php?f=3&t=32298&p=189422#p189422</a><!-- l -->
hosting de aplicaciones .exe
Antonio!, No sirve porque tenemos que usar una dll sólo para Windows. Gracias!
hosting de aplicaciones .exe
Hola elvira yo uso alpshost.com Saludos
hosting de aplicaciones .exe
Hola, ¿Y qué paquete usas?. Te agradecería feedback por favor. Desde ya, muy agradecida.
hosting de aplicaciones .exe
Se trata de un .[b:184mpzri]exe[/b:184mpzri], no de un .asp. Tenemos que llamar a una dll que solo está en Windows.
hosting for .exes
Hello, Can you please recommend a Hosting for exe files made with Harbour and Fiveweb?. Thanks.
hosting for .exes
Elvira, I use dreamhost but you have to use Linux. All FiveWeb examples are hosted in dreamhost: [url:1lnnirgc]https&#58;//bitbucket&#46;org/fivetech/fiveweb/wiki/Home[/url:1lnnirgc] [url:1lnnirgc]https&#58;//bitbucket&#46;org/fivetech/fiveweb/wiki/tutor01_prg[/url:1lnnirgc] etc.
hosting for .exes
Antonio, We have to use Windows as we use a dll only available for Windows. Thanks!
hosting for .exes
Hi i use alpshost.com Regards
hot make bad jokes
what 'is the error on this expression ? IF dData >= ((oDPrenota)->DATAIN) .AND. dData <= ((oDPrenota)->DATAFIN) Error description: Error BASE/1076 Argument error: >= Args: [ 1] = U [ 2] = D 06-08-2011 I wish know if dData is on Interval from DATAIN and DATAFIN how I must make ?
hot make bad jokes
Hello dData is null.... verifiy the value
hot make bad jokes
oopss thanks it is null
hotkeys
Is it possible to define hotkeys in a window, like Cmd-P to call printing Function and Cmd-f for finding Function
hotpick in fivewin
How can I hotpick in getting a value from field in a get class.
hotpick in fivewin
Ehab, What do you mean for hotpick ? Please post a sample or a screenshoot, thanks
hotpick in fivewin
The auto complete feature in any internet get variable . I need it in Xbrowse edit
how use proxy
i want make an application to update an application it run ok but only from my home because from school i have a proxy how i must make to use a proxy ? when i go to IE or update an antivirus it ask me port user and password how i can make it on my update function before to download from an url the updates's files ? thanks in advance
how use proxy
Silvio, Are you able to download a file from IE in the school ?
how use proxy
yes but I must before ( when I open IE) to digit the user and the password
how add image in POST
Hello everyone I tried to insert an image to make a defect evident, I used the TAG Img but I couldn't. I would like clarification on this. TIA Maurizio Menabue
how add image in POST
You can upload your images on this site, or on a similar one [url:sx3jc6ls]https&#58;//imgbb&#46;com/[/url:sx3jc6ls] Then in the img tag put the link [url=https&#58;//ibb&#46;co/KVTnnnQ:sx3jc6ls][img:sx3jc6ls]https&#58;//i&#46;ibb&#46;co/WBmCCCd/Sin-t-tulo&#46;png[/img:sx3jc6ls][/url:sx3jc6ls]
how add image in POST
I use <!-- m --><a class="postlink" href="https://postimages.org/">https://postimages.org/</a><!-- m -->
how add image in POST
I use <!-- m --><a class="postlink" href="https://imageshack.com">https://imageshack.com</a><!-- m -->
how add image in POST
[url=https&#58;//postimages&#46;org/:1azw5mjn][img:1azw5mjn]https&#58;//i&#46;postimg&#46;cc/KYmgpVyr/adoinsert&#46;png[/img:1azw5mjn][/url:1azw5mjn] Posted using <!-- m --><a class="postlink" href="https://postimage.org">https://postimage.org</a><!-- m --> advised by Mr. Cristobal
how can I use ""ScriptErrorsSuppressed""?
Dear Fivewin users, I am using ActiveX class to place internet exploere dialog in my application. But, from time to time, when there is script error on certain site, an script error message was displayed and my application stopped. On this points, a friend using c# adviced me to use webBrowser class. There was "webBrowser.ScriptErrorsSuppressed" in c# and other language, so, through setting this value as true or false, those kinds of script errors of certain sites were ignored. How can I have this function in fivewin harbour? Thanks advances for your attention on my situation. <!-- e --><a href="mailto:pharmabase@paran.com">pharmabase@paran.com</a><!-- e --> Kim yong woo
how can I use ""ScriptErrorsSuppressed""?
Kim, use this: oActiveX&#058;SetProp( "Silent", .T. ) or (from FWH 9.04) oActiveX&#058;Silent = .T.
how can be done in FWH?
Hi, I would like to create a screen like this [img:2wu6xwn5]http&#58;//imagenes&#46;sftcdn&#46;net/es/scrn/36000/36498/3_Untitled_15&#46;jpg[/img:2wu6xwn5] but I don´t know how to create diferent areas and titles (Plan resumen, Ultimos documentos de venta, etc). Any help will be welcomed. Thank you <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: -->
how can be done in FWH?
You can make this using codejock ActiveX <!-- w --><a class="postlink" href="http://www.codejock.com">www.codejock.com</a><!-- w --> more something no work fine in fivewin, think that have bug´s inside this class TActiveX. <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
how can be done in FWH?
I explained U How it must be made on spanish forum : Do U want I made it for U?
how can be done in FWH?
I made this : can be right it ? [img:1zjikcfu]http&#58;//img51&#46;imageshack&#46;us/img51/8817/deskuy&#46;jpg[/img:1zjikcfu]
how can be done in FWH?
Yes, Silvio please. Thanks a lot!!!! <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
how can be done in FWH?
It is easy to create see the tests for splitter in fwh/samples I inited from here
how can be done in FWH?
And what about Titles (Ultimos documentos...)? thnaks!
how can be done in FWH?
Sorry I saw the my test I use our classes not published also, P a c o classes, and other not mine... I cannot send d you it sorry, but I saw it can be create easy perhaps use only tpanel and wndscroll class and remember I saw there are 5 splitters on this test : two verticals and 3 Horizzontal splitters
how can be done in FWH?
Silvio, You can comment out Paco Canalfive classes. Also, FW has a wonderful Outlook 2003 class, so not need to use 3rd party classes. THANKS <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
how can be done in FWH?
ok but you tried to create something with outlook2003 class ? On my application It created often a gpf
how can do get spinner work?
Hi, myvar1:=date(),myvar2:=2 redefine get myvar1 id 101 of odlg spinner redefine get myvar2 id 102 of odlg spinner spinner not work fwh1104 harbour2.1 TKS! Shuming Wang
how can do get spinner work?
Please explain better Marco
how can do get spinner work?
in rc , id 101,102 all with vscrollbar . in exe , id 101, you mouse press up arrow either down arrow,not change 2011.05.04 -->2011.05.05 ,2011.05.03 id 102 , then ,fixed to 2, not 3 , 1 Shuming Wang
how can do get spinner work?
tget class: 1.METHOD Spinner( bUp, bDown, bMin, bMax ) CLASS TGet ::oVScroll:bGoUp := {|| If( GetFocus() != ::hWnd, ::SetFocus(),),; Eval( bUp ),::refresh() } ::oVScroll:bGoDown := {|| If( GetFocus() != ::hWnd, ::SetFocus(),),; Eval( bDown ),::refresh() } should replace as: ::oVScroll:bGoUp := {|| If( GetFocus() != ::hWnd, ::SetFocus(),),; Eval( bUp ),::refresh() } ::oVScroll:bGoDown := {|| If( GetFocus() != ::hWnd, ::SetFocus(),),; Eval( bDown ),::refresh() } to force bup, bdown work. redefine myvar id 101 of odlg spinner on up (myvar++) on down (myvar --) If variable is date type without define bup nor bdown,it always ++ -- year not to day . 2. method move() should add IF ::oBtn != Nil ::oBtn:Move( 0, ::nWidth() - ::nHeight() - If( ::lSpinner, 20, 0 ),::nHeight() - 4,::nHeight() - 4 ) endif 3. method createbutton () ACTION (EVAL( oThis:bAction, oThis ), oThis:SetFocus()) ; should replaced with local bwhen := ::bwhen ACTION (if(empty(bwhen).or.EVAL(bwhen), (EVAL( oThis:bAction, oThis ), oThis:SetFocus()),) ) ; 4. method keychar() nKey = Asc( CharUpper( nKey ) ) This changes Chinese word code , should return to pre version nKey = Asc( UPPER( Chr( nKey )) ) Shuming Wang
how can i check if Method/Property exist ?
there is the harbour one: [url=https&#58;//harbour&#46;github&#46;io/doc/harbour&#46;html#__objhasmethod:1bo8pneo]__objHasMethod[/url:1bo8pneo]
how can i check if Method/Property exist ?
hi, is there a Function IsMethod() and IsProperty() under Fivewin <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> i want to check if Method/Property exist
how can i check if Method/Property exist ?
hi, [quote="AntoninoP":3qhwwlmu]there is the harbour one: [url=https&#58;//harbour&#46;github&#46;io/doc/harbour&#46;html#__objhasmethod:3qhwwlmu]__objHasMethod[/url:3qhwwlmu][/quote:3qhwwlmu] oh, Yes i have seen it in OOHG do i have to include OOHG Modul or is it include in FiveWin <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
how can i check if Method/Property exist ?
Maybe some info here : (Method insite the program codes ) <!-- l --><a class="postlink-local" href="https://forums.fivetechsupport.com/viewtopic.php?f=3&t=35592">viewtopic.php?f=3&t=35592</a><!-- l --> <!-- l --><a class="postlink-local" href="https://forums.fivetechsupport.com/viewtopic.php?f=3&t=35999">viewtopic.php?f=3&t=35999</a><!-- l --> <!-- l --><a class="postlink-local" href="https://forums.fivetechsupport.com/viewtopic.php?f=3&t=41830">viewtopic.php?f=3&t=41830</a><!-- l --> <!-- l --><a class="postlink-local" href="https://forums.fivetechsupport.com/viewtopic.php?f=3&t=42273">viewtopic.php?f=3&t=42273</a><!-- l -->
how can i check if Method/Property exist ?
Jimmy, It works If I put this code, It works without any rest code, so it is included [code=fw:1wfp7q65]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; <span style="color: #00C800;">if</span> __ObjHasMethod<span style="color: #000000;">&#40;</span> oBrw<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>, <span style="color: #ff0000;">"ADDCOL"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">msginfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Yes"</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">msginfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Nope"</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp;</div>[/code:1wfp7q65]
how can i check if Method/Property exist ?
hi Marc, thx for Info, i will try it
how change size of close button of dialog
Hi i have to change the size of close button (x) of a dialog is possible ? thanks
how change size of close button of dialog
[quote="vensanto":24aj2v48]Hi i have to change the size of close button (x) of a dialog is possible ? thanks[/quote:24aj2v48] I don't think it's possible. At least it wouldn't be easy. EMG
how change size of close button of dialog
Maybe it´s possible with skins. See samples\skin1.prg
how change size of close button of dialog
Creating Your own dialog-title-style, it is possible, to use different image-sizes. As well You can add a logo-image on the lefthandside. using a title-text with shadow, different title-brushes, adding any images with action and more... [img:1zwb434q]http&#58;//www&#46;pflegeplus&#46;com/pictures/Dlgexit1&#46;jpg[/img:1zwb434q] best regards Uwe <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
how change size of close button of dialog
have a look at : <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=28178">viewtopic.php?f=3&t=28178</a><!-- l --> best regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
how create error.log in FWH
how create error.log in FWH apps in xharbour without FWH PROCEDURE Main ? a RETURN if I run apps /compiling without FWH/ I got error.log ----------------------------- xHarbour Error Log ------------------------------ Date...............: 12/14/16 Time...............: 17:31:26 Application name...: S:\samples19\error\t.exe Workstation name...: VOSTRO3500 Available memory...: 2097151 Current disk.......: S Current directory..: samples19\error Free disk space....: 14805118976 Operating system...: Windows 6.2.9200 xHarbour version...: xHarbour 1.2.3 Intl. (SimpLex) (Build 20160705) xHarbour built on..: Jul 8 2016 15:17:55 C/C++ compiler.....: Pelles ISO C Compiler 3.0 (32-bit) Multi Threading....: NO VM Optimization....: 2 Current Area ......:1 -------------------------- Environmental Information -------------------------- SET ALTERNATE......: OFF SET ALTFILE........: SET AUTOPEN........: ON SET AUTORDER.......: 0 SET AUTOSHARE......: 0 SET BACKGROUNDTASKS: OFF SET BACKGROUNDTICK.: 1000 SET BELL...........: OFF SET BLINK..........: .T. SET CANCEL.........: ON SET CENTURY........: OFF SET COLOR..........: W/N,N/W,N/N,N/N,N/W SET CONFIRM........: OFF SET CONSOLE........: ON SET COUNT..........: 0 SET CURSOR.........: 1 SET DATE FORMAT....: MM/DD/YY SET DBFLOCKSCHEME..: 0 SET DEBUG..........: OFF SET DECIMALS.......: 2 SET DEFAULT........: SET DEFEXTENSIONS..: ON SET DELETED........: OFF SET DELIMCHARS.....: :: SET DELIMETERS.....: OFF SET DEVICE.........: SCREEN SET DIRCASE........: 0 SET DIRSEPARATOR...: \ SET EOL............: 13 SET EPOCH..........: 1900 SET ERRORLOG.......: ERROR.LOG,.F. SET ERRORLOOP......: 8 SET ESCAPE.........: ON SET EVENTMASK......: 128 SET EXACT..........: OFF SET EXCLUSIVE......: ON SET EXIT...........: OFF SET EXTRA..........: OFF SET EXTRAFILE......: SET FILECASE.......: 0 SET FIXED..........: OFF SET FORCEOPT.......: OFF SET HARDCOMMIT.....: ON SET IDLEREPEAT.....: ON SET INSERT.........: OFF SET INTENSITY......: ON SET LANGUAGE.......: EN SET MARGIN.........: 0 SET MBLOCKSIZE.....: 0 SET MCENTER........: OFF SET MESSAGE........: 0 SET MFILEEXT.......: SET OPTIMIZE.......: ON SET OUTPUTSAFETY...: ON SET PATH...........: SET PRINTER........: OFF SET PRINTERJOB.....: SET PRINTFILE......: PRN SET SCOREBOARD.....: ON SET SCROLLBREAK....: ON SET SOFTSEEK.......: OFF SET STRICTREAD.....: OFF SET TRACE..........: ON SET TRACEFILE......: TRACE.LOG SET TRACESTACK.....: 2 SET TRIMFILENAME...: .F. SET TYPEAHEAD......: 50 SET UNIQUE.........: OFF SET VIDEOMODE......: 0 SET WRAP...........: OFF ---------------------------Detailed Work Area Items---------------------------- -------------------- Internal Error Handling Information --------------------- Subsystem Call ....: BASE System Code .......: 1003 Default Status ....: .F. Description .......: Variable does not exist Operation .........: A Arguments .........: Involved File .....: Dos Error Code ....: 0 Trace Through: ---------------- MAIN : 12 in Module: t.prg ############################## Video Screen Dump ############################## +--------------------------------------------------------------------------------+ | | |Error BASE/1003 Variable does not exist: A | | | |Error at ...: MAIN(12) in Module: t.prg | ---------------------------------------------------------------------------------+ if I create apps with FWH #include 'Fivewin.ch' PROCEDURE Main ? a RETURN I don't get error.log best regard kajot
how create error.log in FWH
Kajot, Testing your example I get this: [img:dz9lmbyi]https&#58;//bitbucket&#46;org/fivetech/screenshots/downloads/kajot_error&#46;JPG[/img:dz9lmbyi] Are you using FWH standard error system or do you use a modified errorsys.prg ?
how create error.log in FWH
I am using xHarbour.com.
how create error.log in FWH
I am using standard
how create error.log in FWH
Much better <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> With standard xHarbour it properly errors too