Changing display properties of check boxes (OpenInsight Specific)
At 23 MAY 2001 07:05:23AM tony hensby wrote:
Does any know if there is a way of displaying the text of a check box on the left of the box without having to use a seperate text control.
many thanks
At 25 MAY 2001 05:41AM Oystein Reigem wrote:
Tony,
Turn your monitor upside down.
You might need to acquire an upside-down font, though.
Sorry - couldn't resist it.
Did a few experiments with the style bits of a check box:
*Equ X$ To 512 ;* text became right justified
*Equ X$ To 256 ;* nothing?
*Equ X$ To 1024 ;* both box and text top justified?
*Equ X$ To 2048 ;* both box and text bottom justified?
*Equ X$ To 4096 ;* appearance changed to button
*Equ X$ To 128 ;* text disappeared
*Equ X$ To 64 ;* ditto
*Equ X$ To 32 ;* bingo!!!!
/* solution: */
Equ X$ To 32 + 512
Style=Get_property( @Window : ".CB", "STYLE" )
Style=Iconv( Style3,\00\, "MX" )
Style += X$
Style=0x" : Oconv( Style, "MX" )
Call Set_Property( @Window : ".CB", "STYLE", Style )
- Oystein -
At 25 MAY 2001 05:44AM Oystein Reigem wrote:
Tony,
Do what I described in the CREATE handler of the form.
To avoid flicker make the form invisible in Form Designer and set it visible in the CREATE handler.
- Oystein -
At 25 MAY 2001 09:06AM tony hensby wrote:
Oystein
I found an upside down font but the rest of the controls were out then. Had to cross that solution of the list.
Thanks for the other stuff, will give it a whirl
At 26 MAY 2001 12:47AM Ilde Giron wrote:
Oystein,
I guess RevTech wouldn't mind including a subdirectory in the next release of The Works Annual CD titled 'Jokes' or 'Humor'…
Regards,
Ilde.
At 29 MAY 2001 06:15AM Oystein Reigem wrote:
Ilde,
Subdirectory??? I want a triple live album!!!
![]()
Btw - I miss the Emu…
- Oystein -
At 29 MAY 2001 06:54AM Mike Ruane wrote:
Oystein-
We plan to record every roadshow stop in triple-clear Dolci stereo surround sound-alike.
We'll offer never before heard clips and interviews, offering special insights into the players.
With various guest artists performing we'll make this album a one-time limited offer, void where prohibited, operators standing by. Call within the next 30 minutes and receive a free set of steak knives.
At 29 MAY 2001 06:56AM Oystein Reigem wrote:
Tony,
The code I posted was tested on Win 98. I just found out with Win 2000 you also have to destroy and recreate the control:
Record=Get_Property( @Window : ".CB", "ORIG_STRUCT" )
Style=Record
Style=Iconv( Style3,\00\, "MX" )
Style += X$
Style=0x" : Oconv( Style, "MX" )
Record=Style
Old=Utility( "DESTROY", @Window : ".CB" ) New=Utility( "CREATE", Record )
Which is bad news if you only have runtime licenses. Once you create controls on the fly license rules say you must at least use a Development-Ready version of OI.
- Oystein -
At 29 MAY 2001 08:25AM Donald Bakke wrote:
Oystein,
Hmmm…I hate to drudge up bad memories of lengthy debates from the Licensing & Deployment board (which hasn't seen the light of day for over a year now), but I am pretty confident that a regular runtime is allowed to take a pre-existing control (i.e. one created with the Form Designer) and do a DESTROY/CREATE. What was forbidden was creating a control completely programmatically.
I could be wrong, however, as there were many subtle and inconsistent rules with regards to the runtime license. To this date, there have been no clear responses to many issues raised where on one hand developers are clearly permitted to provide such features but on the other hand we aren't. There was/is a lot of ambiguity as you well know.
It should be pointed out that AFAIK there has not been any public correspondence with the latest ownership (i.e. Mike Ruane aka Win Win Solutions, Inc.) on this issue. Therefore, I don't want to paint with a very broad brush. The concerns I've raised are mostly with the previous and long standing ownership. However, the current licensing materials seem to remain unchanged so it will be interesting to see if licensing interpretation and application will be clarified better or made more reasonable to understand and implement in the future.
At 29 MAY 2001 09:16AM Simon Wilmot wrote:
Oystein,
Do you know if this is a general requirement with Win2000, as we change the SDK style of controls on the fly quite a bit. We have some customers and on-site PCs on Win2000 and they haven't reported any problems (yet !!), and do you know what happens if it doesn't work correctly, I assume that nothing changes on screen ….
Simon
RebusHR
At 29 MAY 2001 09:39AM Don Miller - C3 Inc. wrote:
Me too!
Don
At 29 MAY 2001 02:42PM Don Miller - C3 Inc. wrote:
Don ..
I expect to see Mike Ruane this Friday in Newark. I will ask him about the issue. I understand that the next upgrade to OI will allow for repair / rebuild of damaged indexes in a runtime. As to the destroy/crete scenario, I got a definite "That's OK" from both Jim A and Kurt Baker before they left. The only restriction was in creating a control programatically from scratch .. although it seems to me that the MSG routine does this so WTFK. I'll post what I learn.
Don Miller
At 29 MAY 2001 02:54PM Mike Ruane wrote:
Guys-
We'll be covering some of the runtime/licensing issues at the Roadshows.
Mike
At 30 MAY 2001 06:07PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
See, I was told by the former powers that be that creating/destroying controls on the runtime were completely prohibited, even down to the ]64K limit on edittable and anything. "Utility("CREATE"…) is only active because system code requires it."
Luckily, Mike and WinWin are developers and can write a license that protects RTI's interests without being purposely restrictive and confrontational. I'm expecting good things from them once they finish digesting all they have and what they have to do.
The latest upgrades seem good and solid with needed features instead of fluff, jOI looks like a winner, and people who care about the product are at the helm.
World Leaders in all things RevSoft
At 30 MAY 2001 06:13PM [email protected] wrote:
Eric's death was tragic, and yet strangly comical.
However, we do have a piece of the Emu's nose and are busy trying to clone it.