|
Post by DJLinux on Aug 10, 2010 8:35:45 GMT -5
Toolbox PluginDownload: ToolBox.zipExePath$ = ExePath() CurPath$ = CurentPath() ChangePath(Path$) CreatePath(NewPath$) DeletePath(Path$)
IsExe = StandAlone() hWin = WindowHandle() hDC = DeviceContext() hRC = RenderContext()
GetPixels(x,y,w,h,array) SaveBMP(x,y,w,h,FileName$) SavePNG(x,y,w,h,FileName$) SavePNGMask(x,y,w,h,FileName$,r,g,b) FileName$ = GetOpenFileName(Ttle$,Flags,Filter$) FileName$ = GetSaveFileName(Ttle$,Flags,Filter$)
Result = ExecuteProgram(Name$,Args$) Result = RunProgram(Name$,Args$)
ShowCursor(True) ShowCursor(False) ShowWindow(True) ShowWindow(False) Title$ = WindowTitle() WindowTitle("Title") WindowPos(X,Y) WindowSize(W,H) WindowPosSize(X,Y,W,H) WindowOnTop()
Result$ = Hex$(Value) Result$ = Bin$(Value) Result$ = Hex$(Value,nChars) Result$ = Bin$(Value,nChars)
Swap(a,b) Swap(a#,b#) Swap(a$,b$)
Result = Min(a%,b%) Result = Max(a%,b%) Result# = Min(a#,b#) Result# = Max(a#,b#)
Result = Find(String$,Substring$) Result = Find(String$,Substring$,From%) Note:: After WindowShow(False) the window is hidden but the IDE background won't refresh in all cases. Works perfect in your final exe. WindowPos/Size isn't for FULLSCREEN mode. WindowSize will only work if resizeable are enabled in the Basic4GL options dialog. ExecuteProgramm() wait's on end of the new task RunProgram() will close the caller (the IDE or curent exe) Joshy
|
|