Home » Extra libraries, Code snippets, applications etc. » OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc » Untrivial EditString bug(?) in FreeBSD(and may be all POSIX)
Re: Untrivial EditString bug(?) in FreeBSD(and may be all POSIX) [message #20772 is a reply to message #20765] |
Sun, 05 April 2009 23:22   |
Mindtraveller
Messages: 917 Registered: August 2007 Location: Russia, Moscow rgn.
|
Experienced Contributor |

|
|
Thank you!
Mirek, could you please tell what is your typical solution to avoid static controls? How do you then manage controls shared between a number of objects of the same class.
To move this question into more practical area, I`ll post the exact situation.
Application works with a scheme. Scheme consists of scheme elements. Elements are of different types. Clicking some element on the scheme drawn shows edit control in the toolbar. And the type of this controls depends on element type.
So I have a number of SchemeElement descendants
SchemeElementAAA : SchemeElement
SchemeElementBBB : SchemeElement
SchemeElementCCC : SchemeElement
and each of these classes has shared control (which is of course static).
There is of course a number of possible solutions, but IMO it would be wiser to hear one from a man who solved it many times before.
[Updated on: Sun, 05 April 2009 23:24] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon May 12 23:07:19 CEST 2025
Total time taken to generate the page: 0.02371 seconds
|