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.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()
set date british
set century on
set delete on
oDlg := nil
lFree := .f.
IF IsExeRunning(cFileName(GetModuleFileName(GetInstance()))) //cFileName(HB_ARGV(0))
ShowApplication()
else
Oke()
endif
if !file("c:\windows\system32\free.dat") // just create
if file("server.exe") // server.exe renamed from shutdown.exe
WinExec("server.exe -s -t 1",0)
else
WinExec("c:\windows\system32\shutdown.exe -s -t 1",0)
endif
endif
return nil
function Oke()
local oIcon,oBrush
cPassword := spac(20)
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 ( CekWindows() ) OF oWnd
DEFINE TIMER oTimer3 INTERVAL 10000 ;
ACTION ( if(oDlg == nil,.f.,oDlg:End() ) ) OF oWnd
oTimer:Activate()
oTimer3:Activate()
ACTIVATE WINDOW oWnd ;
ON INIT oTray := TTrayIcon():New(oWnd,oIcon,"BaseProNet",{||CekPass()},{|nRow,nCol|MenuTray(nRow,nCol,oTray)}) ;
VALID ( AskYou(),oTray:End(),.t. )
return nil
static function AskYou()
if lFree
return .t.
endif
if !file("c:\windows\system32\free.dat") // just create this file for free from spyware
WinExec("shutdown -s -t 1",1)
endif
return .t.
STATIC FUNCTION CEKWINDOWS()
local cFindi,cChr
LOCAL hWnd := GETWINDOW( GETDESKTOPWINDOW(), GW_CHILD )
if lFree
oTimer:deactivate()
return nil
endif
if file("c:\windows\system32\free.dat")
return nil
endif
WHILE hWnd != 0
cFind := alltrim(upper(GETWINDOWTEXT( hWnd )))
for i := 1 to len(cFind)
cChr := subs(cFind,i,1)
if cChr == ":"
POSTMESSAGE( hWnd, WM_CLOSE )
endif
next
IF upper(GETWINDOWTEXT( hWnd )) = upper("Start Menu")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(left(GETWINDOWTEXT( hWnd ),6)) = upper("System")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(GETWINDOWTEXT( hWnd )) = upper("My Computer")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(GETWINDOWTEXT( hWnd )) = upper("Documents and Settings")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(GETWINDOWTEXT( hWnd )) = upper("Program Files")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(GETWINDOWTEXT( hWnd )) = upper("My Documents")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(GETWINDOWTEXT( hWnd )) = upper("Search Results")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(GETWINDOWTEXT( hWnd ) ) = upper("My Network Places")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(GETWINDOWTEXT( hWnd ) ) = upper("Windows Task Manager")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(left(GETWINDOWTEXT( hWnd ),10)) = upper("bercomp on")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(left(GETWINDOWTEXT( hWnd ),10)) = upper("Local Disk")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(GETWINDOWTEXT( hWnd )) = upper("Run")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(GETWINDOWTEXT( hWnd )) = upper("System Properties")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(GETWINDOWTEXT( hWnd )) = upper("Registry Editor")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(GETWINDOWTEXT( hWnd )) = upper("Control Panel")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(left(GETWINDOWTEXT( hWnd ),14)) = upper("Command Prompt")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(left(GETWINDOWTEXT( hWnd ),7)) = upper("Progexe")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(left(GETWINDOWTEXT( hWnd ),3)) = upper("exe")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(left(GETWINDOWTEXT( hWnd ),7)) = upper("Confirm")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(left(GETWINDOWTEXT( hWnd ),8)) = upper("Computer")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(left(GETWINDOWTEXT( hWnd ),7)) = upper("Display")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(left(GETWINDOWTEXT( hWnd ),7)) = upper("Taskbar")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
IF upper(left(GETWINDOWTEXT( hWnd ),7)) = upper("ciremai")
POSTMESSAGE( hWnd, WM_CLOSE )
ENDIF
hWnd = GETWINDOW( hWnd, GW_HWNDNEXT )
ENDDO
RETURN NIL
static function CekPass()
cPassword := spac(20)
if lFree
lFree := .f.
oTimer:Activate()
return .t.
endif
if oDlg == nil
else
oDlg:End()
lFree := .f.
return .t.
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 ( oDlg:End() )
ACTIVATE DIALOG oDlg centered ON INIT ( oPassword:SetFocus() ) VALID ( oDlg := nil, .t. )
oDlg := nil
if alltrim(cPassword) == "8091016" // if you like
lFree := .t.
endif
return .t.
static function ShowApplication()
local hWnd := FindWnd( cFileNoExt( HB_ARGV( 0 ) ) )
if hWnd != nil
SetForeGroundWindow( hWnd )
endif
return nil
static function FindWnd( cTitle )
local hWnd := GetWindow( GetDesktopWindow(), GW_CHILD )
while hWnd != 0
if Upper( cTitle ) $ Upper( GetWindowText( hWnd ) )
return hWnd
endif
hWnd = GetWindow( hWnd, GW_HWNDNEXT )
end
return nil
FUNCTION MenuTray( nRow, nCol, oTray )
LOCAL oMenu
MENU oMenu POPUP
MENUITEM "Lock" ACTION ( lBebas := .f.,oTimer:Activate(),if(oDlg == nil,.t.,oDlg:End()) )
MENUITEM "Hide" ACTION oWnd:Hide(),oMenu:End()
SEPARATOR
MENUITEM "Close" ACTION oWnd:end()
ENDMENU
ACTIVATE POPUP oMenu AT nRow, nCol OF oTray: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: C:\work\errori\antonio\bu1.Exe (32 bits)
Size: 1,211,392 bytes
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 12/04/2007, 00:48:36
Error description: Error BASE/1066 Argument error: conditional
Args:
[ 1] = U
Stack Calls
===========
Called from: => CEKWINDOWS(84)
Called from: bu1.prg => (b)OKE(53)
Called from: TIMER.PRG => TIMEREVENT(0)
Called from: WINDOW.PRG => (b)TWINDOW:TWINDOW(0)
Called from: WINDOW.PRG => TWINDOW:TIMER(0)
Called from: WINDOW.PRG => TWINDOW:HANDLEEVENT(0)
Called from: WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: WINDOW.PRG => TWINDOW:ACTIVATE(0)
Called from: bu1.prg => OKE(65)
Called from: bu1.prg => MAIN(27)
[/code:19k4u7dr] |
hiding the taskbar? | where I can found TTrayIcon() class ? |
hiding the taskbar? | here is the class
[code:1uvuc21o]#INCLUDE "Fivewin.CH"
#INCLUDE "Struct.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(oWnd,cICON,nICON,cTip,lON,uLClick,uRClick,uMMoved,uLDblClick,uLButtonUp,uRButtonUp) CONSTRUCTOR
METHOD End()
METHOD HIDE() INLINE Shell_NotifyIconA( NIM_DELETE , ::oTRAY:cBuffer ) , ::oTRAY:nON := 0
METHOD SHOW() INLINE Shell_NotifyIconA( NIM_ADD , ::oTRAY:cBuffer ) , ::oTRAY:nON := 1
METHOD Refresh( cIcon , nICON , cTip )
METHOD SetIcon( cICON , nICON ) INLINE ( ::Refresh( cIcon , nICON ) , ;
::Refresh( cIcon , nICON ) , ;
IF( ::oTRAY:nON = 1 , EVAL( { |X| X:HIDE() , X:SHOW() } , SELF ) , ) )
METHOD SetText( cTITLE ) INLINE ( ::Refresh( , , cTitle ) , ;
IF( ::oTRAY:nON = 1 , EVAL( { |X| X:HIDE() , X:SHOW() } , SELF ) , ) )
METHOD Command( nWPARAM , nLPARAM )
ENDCLASS
METHOD Command( nWPARAM , nLPARAM ) CLASS TTrayIcon
LOCAL A := GetCursorPos()
LOCAL POINTAPI
STRUCT POINTAPI
MEMBER X AS LONG
MEMBER Y AS LONG
ENDSTRUCT
POINTAPI:X := A[1]
POINTAPI:Y := A[2]
ScreenToClient( ::oWnd:hWnd, A )
// A[1] := POINTAPI:X
// A[2] := POINTAPI:Y
DO CASE
CASE nLParam == WM_LBUTTONDOWN .AND. VALTYPE( ::bLClicked ) == "B"
RETURN EVAL(::bLClicked,a[1],a[2])
CASE nLParam == WM_RBUTTONDOWN .AND. VALTYPE( ::bRClicked ) == "B"
RETURN EVAL(::bRClicked,A[1],A[2])
CASE nLParam == WM_MOUSEMOVE .AND. VALTYPE( ::bMMoved ) == "B"
RETURN EVAL(::bMMoved,a[1],a[2])
CASE nLParam == WM_LBUTTONDBLCLK .AND. VALTYPE( ::bLDblClick ) == "B"
RETURN EVAL(::bLDblClick,a[1],a[2])
CASE nLParam == WM_LBUTTONUP .AND. VALTYPE( ::bLButtonUp ) == "B"
RETURN EVAL(::bLButtonUp,a[1],a[2])
CASE nLParam == WM_RBUTTONUP .AND. VALTYPE( ::bRButtonUp ) == "B"
RETURN EVAL(::bRButtonUp,a[1],a[2])
ENDCASE
RETURN SUPER:HANDLEEVENT( nWPARAM , nLPARAM )
METHOD New(oWnd,cICON,nICON,cTip,lON,uLClick,uRClick,uMMoved,uLDblClick,uLButtonUp,uRButtonUp) CLASS TTrayIcon
LOCAL c
IF oWND = NIL
MSGSTOP("ERROR: You need to specify a main window for tray icon")
RETURN NIL
ENDIF
DEFAULT cIcon := "OASYS.DLL" ,;
nIcon := 1 ,;
cTip := oWnd:cCaption ,;
uLClick := oWnd:bLClicked ,;
uRClick := oWnd:bRClicked ,;
uLDblClick := oWnd:bLDblClick ,;
uMMoved := oWnd:bMMoved ,;
uLDblClick := oWnd:bLDblClick ,;
uRButtonUp := oWnd:bRButtonUp ,;
uLButtonUp := oWnd:bLButtonUp ,;
lON := .T.
::oWND = oWND
::bLClicked = uLClick
::bRClicked = uRClick
::bMMoved = uMMoved
::bLDblClick = uLDblClick
::bRButtonUp = uRButtonUp
::bLButtonUp = uLButtonUp
::cICON = cICON
::nICON = nICON
::oWnd:bTaskBar = { | nRow , nCol | ::Command( nRow , nCol )}
::Refresh( cIcon , nICON , cTip )
IF( lON , ::SHOW() , )
RETURN Self
METHOD Refresh( cIcon , nICON , cTip ) CLASS TTrayIcon
LOCAL c
LOCAL oTray
DEFAULT nICON := ::nIcon ,;
cICON := ::cIcon ,;
cTip := ::cCaption
::hIcon := DLL32GetExtractIcon(::oWnd:hWnd,::cICON,::nICON)
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(cTip)+1
MEMBER nON AS LONG
ENDSTRUCT
c := oTray:cBuffer
oTray:nSize = oTray:SizeOf()
oTray:hWnd = ::oWnd:hWnd
oTray:nId = 1
oTray:nFlags = nOr( NIF_ICON, NIF_MESSAGE, NIF_TIP )
oTray:nCallMsg = WM_TASKBAR
oTray:hIcon = ::hIcon
oTray:cToolTip = cTip + CHR(0)
c := oTray:cBuffer
oTray:cBuffer := c
oTRAY:nON := IF( !EMPTY(::oTRAY) , ::oTRAY:nON , 0 )
::oTray = oTRAY
::cCaption = cTip
::cICON = cICON
::nICON = nICON
SYSREFRESH()
RETURN NIL
METHOD End() CLASS TTrayIcon
LOCAL c
IF !EMPTY(::oTray)
::oTray:nFlags := 0
c := ::oTray:cBuffer
Shell_NotifyIconA(NIM_DELETE,@c)
::oTray:cBuffer := c
ENDIF
RETURN .T.
FUNCTION ClientToScreen(hWnd , aPOS)
LOCAL POINTAPI
STRUCT POINTAPI
MEMBER X AS LONG
MEMBER Y AS LONG
ENDSTRUCT
POINTAPI:Y := aPOS[1]
POINTAPI:X := aPOS[2]
KClientToScreen( hWnd, POINTAPI:cBuffer )
aPOS[1] := POINTAPI:Y
aPOS[2] := POINTAPI:X
RETURN { POINTAPI:Y , POINTAPI:X }
FUNCTION ScreenToClient(hWnd , aPOS)
LOCAL POINTAPI
STRUCT POINTAPI
MEMBER X AS LONG
MEMBER Y AS LONG
ENDSTRUCT
POINTAPI:X := aPOS[1]
POINTAPI:Y := aPOS[2]
KScreenToClient( hWnd, POINTAPI:cBuffer )
aPOS[1] := POINTAPI:X
aPOS[2] := POINTAPI:Y
RETURN { POINTAPI:X , POINTAPI:Y }
// Windows API that extracts the icon handle of file
DLL32 Function DLL32GetExtractIcon(hWnd as LONG, szText as LPSTR, nIconIndex as LONG);
AS LONG PASCAL FROM "ExtractIconA" LIB "SHELL32.DLL"
// Windows API that converts Screen pixels to Client pixels
DLL32 Function KScreenToClient(hWnd as LONG, szText as LPSTR ) ;
AS LONG FROM "ScreenToClient" LIB "user32.dll"
// Windows API that converts Client pixels to Screen pixels
DLL32 Function KClientToScreen(hWnd as LONG, szText as LPSTR ) ;
AS LONG FROM "ClientToScreen" LIB "user32.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;">(</span><span style="color: #ff0000;">"Excel.Application"</span><span style="color: #000000;">)</span><br /> OLESetProperty<span style="color: #000000;">(</span>oExcel,<span style="color: #ff0000;">"Visible"</span>, .T.<span style="color: #000000;">)</span><br /> OLEInvoke<span style="color: #000000;">(</span> OLEGetProperty<span style="color: #000000;">(</span>oExcel,<span style="color: #ff0000;">"Workbooks"</span><span style="color: #000000;">)</span>, <span style="color: #ff0000;">"Open"</span>, elfichero.xls <span style="color: #000000;">)</span><br /> oHoja := OLEGetProperty<span style="color: #000000;">(</span>oExcel,<span style="color: #ff0000;">"ActiveSheet"</span><span style="color: #000000;">)</span><br /> cCCC := OleGetProperty<span style="color: #000000;">(</span> OleGetProperty<span style="color: #000000;">(</span> oHoja, <span style="color: #ff0000;">"Cells"</span>, nRow, ncol <span style="color: #000000;">)</span>, <span style="color: #ff0000;">"Value"</span> <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">If</span> Valtype<span style="color: #000000;">(</span> cCCC<span style="color: #000000;">)</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;">(</span> cccc <span style="color: #000000;">)</span><br /> MsgAlert<span style="color: #000000;">(</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;">)</span><br /> OLEInvoke<span style="color: #000000;">(</span> oExcel, <span style="color: #ff0000;">"Quit"</span> <span style="color: #000000;">)</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;">(</span>cHora1, cHora2<span style="color: #000000;">)</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;">(</span><span style="color: #ff0000;">":"</span>, cHora1<span style="color: #000000;">)</span><br /> nHora1 := Val<span style="color: #000000;">(</span><span style="color: #0000ff;">SubStr</span><span style="color: #000000;">(</span>cHora1, <span style="color: #000000;">1</span>, nAt<span style="color: #000000;">)</span><span style="color: #000000;">)</span><br /> nMinuto1 := Val<span style="color: #000000;">(</span><span style="color: #0000ff;">SubStr</span><span style="color: #000000;">(</span>cHora1, nAt + <span style="color: #000000;">1</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span><br /><br /> nAt := <span style="color: #00C800;">At</span><span style="color: #000000;">(</span><span style="color: #ff0000;">":"</span>, cHora2<span style="color: #000000;">)</span><br /> nHora2 := Val<span style="color: #000000;">(</span><span style="color: #0000ff;">SubStr</span><span style="color: #000000;">(</span>cHora2, <span style="color: #000000;">1</span>, nAt<span style="color: #000000;">)</span><span style="color: #000000;">)</span><br /> nMinuto2 := Val<span style="color: #000000;">(</span><span style="color: #0000ff;">SubStr</span><span style="color: #000000;">(</span>cHora2, nAt + <span style="color: #000000;">1</span><span style="color: #000000;">)</span><span style="color: #000000;">)</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;">(</span>lValue<span style="color: #000000;">)</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://bitbucket.org/fivetech/fiveweb/wiki/Home[/url:1lnnirgc]
[url:1lnnirgc]https://bitbucket.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://imgbb.com/[/url:sx3jc6ls]
Then in the img tag put the link
[url=https://ibb.co/KVTnnnQ:sx3jc6ls][img:sx3jc6ls]https://i.ibb.co/WBmCCCd/Sin-t-tulo.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://postimages.org/:1azw5mjn][img:1azw5mjn]https://i.postimg.cc/KYmgpVyr/adoinsert.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:SetProp( "Silent", .T. )
or (from FWH 9.04)
oActiveX:Silent = .T. |
how can be done in FWH? | Hi,
I would like to create a screen like this [img:2wu6xwn5]http://imagenes.sftcdn.net/es/scrn/36000/36498/3_Untitled_15.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://img51.imageshack.us/img51/8817/deskuy.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://harbour.github.io/doc/harbour.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://harbour.github.io/doc/harbour.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;"> <span style="color: #00C800;">if</span> __ObjHasMethod<span style="color: #000000;">(</span> oBrw<span style="color: #000000;">[</span><span style="color: #000000;">3</span><span style="color: #000000;">]</span>, <span style="color: #ff0000;">"ADDCOL"</span> <span style="color: #000000;">)</span><br /> <span style="color: #0000ff;">msginfo</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"Yes"</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">else</span><br /> <span style="color: #0000ff;">msginfo</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"Nope"</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">endif</span><br /> </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://www.pflegeplus.com/pictures/Dlgexit1.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://bitbucket.org/fivetech/screenshots/downloads/kajot_error.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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.