Re: Strange syntax in new widgets!?

2024-05-25 Thread Klaus major-k via use-livecode
Hi Mike,

> Am 25.05.2024 um 17:07 schrieb Mike Kerner via use-livecode 
> :
> 
> a couple of notes on bob's comments:
> * the widgets were written by a third party using lcb. lc purchased the
> source.

AHA! 
Well, that explains the "inconsistency" in the syntax.

> unfortunately, the source is closed, so your ability to improve
> them is limited. (then there's the whole matter of the property editor and
> property inspector not being documented, which makes fixing the properties
> panels for the widgets much more interesting)
> * i've completely replaced the segmented control and the tab panel with a
> polyList, because it's more flexible, and i can get more functionality out
> of it.
> * give the polygrid a try. it is much, much faster than the datagrid, and i
> have not had any issues with missing functionality (at least for what i'm
> using it for).

Don't get me wrong, this is a wonderful widget and I replaced the DataGrid 
with a PolyList/PolyGrid wherever possible in my projects.

> On Fri, May 24, 2024 at 11:41 AM Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Yes I was very surprised when first working with widgets how limited their
>> list of commands and properties are. The only widget I use is the segmented
>> control, and only then because the tab panel looks godaweful ugly in
>> Windows, and I can maintain visual constancy using the segmented control.

YES! Same here...

>> Well, also because I’m too lazy to implement any of the others just yet.
>> 
>> Don’t get me wrong, there are some great widgets. But trying to replicate
>> the functionality of datagrids, yeah not so much.
>> 
>> Bob S
Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Strange syntax in new widgets!?

2024-05-25 Thread Mike Kerner via use-livecode
a couple of notes on bob's comments:
* the widgets were written by a third party using lcb. lc purchased the
source. unfortunately, the source is closed, so your ability to improve
them is limited. (then there's the whole matter of the property editor and
property inspector not being documented, which makes fixing the properties
panels for the widgets much more interesting)
* i've completely replaced the segmented control and the tab panel with a
polyList, because it's more flexible, and i can get more functionality out
of it.
* give the polygrid a try. it is much, much faster than the datagrid, and i
have not had any issues with missing functionality (at least for what i'm
using it for).

On Fri, May 24, 2024 at 11:41 AM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Yes I was very surprised when first working with widgets how limited their
> list of commands and properties are. The only widget I use is the segmented
> control, and only then because the tab panel looks godaweful ugly in
> Windows, and I can maintain visual constancy using the segmented control.
> Well, also because I’m too lazy to implement any of the others just yet.
>
> Don’t get me wrong, there are some great widgets. But trying to replicate
> the functionality of datagrids, yeah not so much.
>
> Bob S
>
>
> On May 21, 2024, at 8:27 AM, Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> It appears to me that the new widgets have been created by someone who has
> no
> or very little knowledge of LC.
>
> We have:
> ...
> delete line 2 of fld 1
> ...
> dispatch "DeleteLine" to group "DataGrid" with 2
> ...
>
> So why not create a more or less similar syntax for new widgets, so we
> don't have
> to use the dictionary for similar tasks. I don't get it...
>
>
> Best
>
> Klaus
>
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Strange syntax in new widgets!?

2024-05-24 Thread Bob Sneidar via use-livecode
Yes I was very surprised when first working with widgets how limited their list 
of commands and properties are. The only widget I use is the segmented control, 
and only then because the tab panel looks godaweful ugly in Windows, and I can 
maintain visual constancy using the segmented control. Well, also because I’m 
too lazy to implement any of the others just yet.

Don’t get me wrong, there are some great widgets. But trying to replicate the 
functionality of datagrids, yeah not so much.

Bob S


On May 21, 2024, at 8:27 AM, Klaus major-k via use-livecode 
 wrote:

It appears to me that the new widgets have been created by someone who has no
or very little knowledge of LC.

We have:
...
delete line 2 of fld 1
...
dispatch "DeleteLine" to group "DataGrid" with 2
...

So why not create a more or less similar syntax for new widgets, so we don't 
have
to use the dictionary for similar tasks. I don't get it...


Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Strange syntax in new widgets!?

2024-05-21 Thread Klaus major-k via use-livecode
Hi Bob,

> Am 21.05.2024 um 17:09 schrieb Bob Sneidar via use-livecode 
> :
> 
> I find a lot of the widget properties less than useful. Try setting the 
> widths of all the tabs of a segmented control to a specified width based upon 
> the total width of the widget.

no, I won't! :-D

> Bob S
> 
> On May 21, 2024, at 7:48 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi friends,
> 
> this came up in the LC forum: How can I delete a line in a PolyGrid?
> "deleteline" or something did not work, so I searched the dictionary
> and found that one needs to set a PROPERTY to do so:
> ...
> put 2 into tLine
> set the pgDeleteRow of widget "PolyGrid" to tLine
> ...

and to make the confusion complete we need to:
...
put 2 into tLine
set the deleteItem of widget "PolyList" to tLine
...
for PolyLists.

> Very intuitive in my opinion. NOT!
> Am I the only one who find this rather ridiculous? 8-)
> Come on Livecode, you can do better!

It appears to me that the new widgets have been created by someone who has no 
or very little knowledge of LC.

We have:
...
delete line 2 of fld 1
...
dispatch "DeleteLine" to group "DataGrid" with 2
...

So why not create a more or less similar syntax for new widgets, so we don't 
have 
to use the dictionary for similar tasks. I don't get it...


Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Strange syntax in new widgets!?

2024-05-21 Thread Bob Sneidar via use-livecode
I find a lot of the widget properties less than useful. Try setting the widths 
of all the tabs of a segmented control to a specified width based upon the 
total width of the widget.

Bob S


On May 21, 2024, at 7:48 AM, Klaus major-k via use-livecode 
 wrote:

Hi firends,

this came up in the LC forum: How can I delete a line in a PolyGrid?

"deleteline" or something did not work, so I searched the dictionary
and found that one needs to set a PROPERTY to do so:
...
put 2 into tLine
set the pgDeleteRow of widget "PolyGrid" to tLine
...
Very intuitive in my opinion. NOT!

Am I the only one who find this rather ridiculous? 8-)
Come on Livecode, you can do better!



Best

Klaus

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode