Re: [UOPL-Architect] how design uopl gui applications
Status: Planning
Brought to you by:
bsstmiller
|
From: Thomas M. <tm...@bs...> - 2004-12-21 20:47:13
|
Yes they do, but he fixes things in other places where they need to be fixed. Some of the stuff he has done, I would prefer to make our own components from scratch taking some code from Turbo Power and this suite and coming up with a whole new component. But we can figure that out later. The important thing is coming up with a game plan on where to start and making sure we are not painting ourselves into a corner. Anyone else have an opinion on where we should start? Richard B Winston wrote: >It looks like all of his controls descend from VCL controls. For example, >TTntButton descends from TButton. In each control, string properties are >replaced with WideString properties with the same names. Thus the caption >of TButton is declared as property Caption: TWideCaption; (TWideCaption = >WideString.) Thus, his controls do not form a separate hierarchy from the >VCL controls. > >An important function is the following from TntWindows which is used for >things like setting the caption of a control. This function is platform >specific so it would need to be extended to use it on other platforms such >as Linux. > >function Tnt_SetWindowTextW(hWnd: HWND; lpString: PWideChar): BOOL; >begin > if Win32PlatformIsUnicode then > Result := SetWindowTextW(hWnd, lpString) > else > Result := SetWindowTextA(hWnd, PAnsiChar(AnsiString(lpString))); >end; > >Richard B. Winston >rb...@us... >http://water.usgs.gov/nrp/gwsoftware/ >703-648-5988 >on Fridays: 301 474-2762 > > > > Thomas Miller > <tm...@bs...> To: uop...@li... > Sent by: cc: > uop...@li... Subject: Re: [UOPL-Architect] how design uopl gui applications > ceforge.net > > > 12/21/2004 02:34 PM > Please respond to > uopl-architect > > > > -- Thomas Miller Wash DC Delphi SIG Chairperson Delphi Client/Server Certified Developer BSS Accounting & Distribution Software BSS Enterprise Accounting FrameWork http://www.bss-software.com http://www.cpcug.org/user/delphi/index.html https://sourceforge.net/projects/uopl/ http://sourceforge.net/projects/dbexpressplus |