Icon View Thread

The following is the text of the current message along with any replies.
Messages 21 to 27 of 27 total
Thread TLabel and TCheckbox problems
Mon, Apr 13 2015 4:14 PMPermanent Link

Matthew Jones

Tim Young [Elevate Software] wrote:

> Matthew,
>
> << I did? Hmm, I don't recall such! Must be getting old. >>
>
> BTW, here's the message where you requested the 3-state radio buttons:
>
>
http://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_general&page=1&msg=2189#2189
>
> Having all radio buttons unselected = 3-state.

I was talking about radio buttons, not checkboxes. And I think I
disagree with your terminology, in that the buttons themselves are in
the unchecked or checked state, but the group might be either one or
none checked. That is a status of the group, not the individual
buttons. However, as per my other message, we now have the power to do
what we want, so we can make all sorts of fancy combinations, or not so
fancy if we want. Thanks.
Mon, Apr 13 2015 4:26 PMPermanent Link

Doc

"Tim Young [Elevate Software]" wrote:

That's the other bug that you reported - if you set AutoSize=False, EWB
isn't causing a re-layout on the label like it should, therefore the
original assigned dimensions aren't being put into place properly.  This
actually affects both the design-time and run-time code.
___________________________________________________

The behaviour of the IDE I would expect is, when changing from AutoSize on to AutoSize off, the dimensions are kept as they are and not changed to any defaults.
Mon, Apr 13 2015 5:01 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< I don't have to do that comparison, because I would choose the right
state to test. If I want to have it not unchecked or undetermined, I test
IsChecked. >>

Yes, but that's *you*. Smile I'm more interested in making sure that someone
else doesn't think IsChecked somehow encompasses an indeterminate comparison
also, and it's not clear at all that this is the case since it only returns
a 2-state Boolean value.

<< Indeed, it is important that a checkbox can have a way to disable the
third indeterminate state. >>

You don't need to disable it, just set the radio button to a
non-indeterminate state at design-time, and that's it.  After that, it's
impossible for the user to set things back to an indeterminate state.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Apr 13 2015 5:11 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< I was talking about radio buttons, not checkboxes. >>

I understand, but they both work the same way.

<< And I think I disagree with your terminology, in that the buttons
themselves are in the unchecked or checked state, but the group might be
either one or none checked. That is a status of the group, not the
individual buttons. >>

Yes, but that's just a side-effect of breaking the radio buttons out as
individual controls.  It doesn't change the fact that they still require
3-state operation and need to consume/assign a data value that may be True,
False, or Null (blank).

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Apr 13 2015 5:12 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Doc,

<< The behaviour of the IDE I would expect is, when changing from AutoSize
on to AutoSize off, the dimensions are kept as they are and not changed to
any defaults. >>

That's not how EWB 2 works - that's how *Delphi* works and its very
confusing to the user/developer.  Any time you remove any type of
auto-layout for a given UI element, it should revert back to its *assigned*
dimensions, not the dimensions that were created as part of an automatic
layout.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Apr 14 2015 1:58 AMPermanent Link

Doc

"Tim Young [Elevate Software]" wrote:

That's not how EWB 2 works - that's how *Delphi* works and its very
confusing to the user/developer.  Any time you remove any type of
auto-layout for a given UI element, it should revert back to its *assigned*
dimensions, not the dimensions that were created as part of an automatic
layout.
_____________________________________________________

And could you explain why ?
Why is the behaviour different to Delphi and to EWB1 ?
Wasn't the intention to make web development easy like Delphi development?
And why does this reverting not happen when switching AutoSize off at runtime?
Tue, Apr 14 2015 2:09 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Doc,

<< And could you explain why ?  Why is the behaviour different to Delphi and
to EWB1 ? >>

Because EWB 2 was an attempt at correcting all of this nonsense in EWB1 and
Delphi.  That's why it has completely different layout management, as well
as completely different font, color, and graphics systems.  It's completely
different because we're trying to move things forward, not keep them the
same forever "just because".

<< Wasn't the intention to make web development easy like Delphi
development? >>

Are you arguing that EWB 2 *isn't* easy to use, just because of this one
issue that you have ?

<< And why does this reverting not happen when switching AutoSize off at
runtime? >>

Again, same bug as before - AutoSize=False isn't working correctly in terms
of automatic layout at both design-time and run-time.

Tim Young
Elevate Software
www.elevatesoft.com
« Previous PagePage 3 of 3
Jump to Page:  1 2 3
Image