Wish Desired feature for Designer

Sonny

Member
Licensed User
Longtime User
Erel,

Please add this feature to the Designer:

When viewing an objects properties, ie; a panel, it would be desirable to have an option to toggle between the color name and it's ARGB equivalent.

What I find annoying is that whenever I use the Designer, to look for a suitable color, I need to duplicate an unnecessary object - to get the ARGB combination - and then remove the unnecessary object from my layout. In other words, duplicating the object is the only way I can get the ARGB color combination, from a Designer named color.

This is necessary, because the code window completion popups don't show the same color options as the designer, so I have to use "Colors.ARGB(w,x,y,z)" as the method for setting colors within my code - since "Colors.PaleGoldenrod" or "Colors.Orange" exists as an option - in the Designer only - and nowhere else.

Thanks, in advance.

Regards.
> Sonny <
 

DonManfred

Expert
Licensed User
Longtime User
Have you tried this?
 

Sonny

Member
Licensed User
Longtime User
Have you tried this?
Thanks for the response, Don.

But I would rather have this implemented as a feature natively in the Designer.

You're also kinda missing the point here. There are a lot of things that we can do, to make up for anything that might appear to be "missing". The idea behind this "wish list" item is to make good product better - and to make a great product phenomenal.

Having a separate lookup table is useful, but the feature I'm requesting should not be too much of a bother to integrate into the Designer. It's functionality is already there - I just want to have direct control over it - rather than let it decide which mode to show on it's own.

Coming from a PhotoShop environment, it just seems a little awkward, not to have this functionality readily available.

It could be tastefully done as a mouse "right click" option, or as a mouse over info balloon, or perhaps expand the "Alpha" row to show the RGB combo.

Why should you need to resort to a separate look up table when that function should be easily accessible already within the Designer?

Regards.
> Sonny <
 

Sonny

Member
Licensed User
Longtime User
Are you using v3.20? Starting from v3.20 you can directly write the color name or ARGB value in the field.
Thanks for the response Erel.

I'm looking to go in the "other" direction. If I see that I want to use the color "DeepSkyBlue" from the Designer - in my code - then I need an easy way to get the ARGB combination, right?

This is where it becomes awkward since I now have to add a label, set it to "DeepSkyBlue", duplicate the label - then it'll show the ARGB combination - copy it, remove both the labels I created - just so that I can get the ARGB combination. Get the picture now?

What's worse, is when I want to use a color "close" to "DeepSkyBlue". Then I need the ARGB combo so that I can "play" with the numbers, in the Designer, to visually get an idea of what's happening.

Regards.
> Sonny <
 

Sonny

Member
Licensed User
Longtime User
Right click on the code editor and choose Color Picker:

SS-2014-01-26_10.05.12.png
Thanks for the insight.

This gives results in Hex - I still need to convert, and work back and forth between the Designer and my code. I was hoping that "Designer" meant that I could do all of my design work there.

Is it that difficult to change in the Designer?
 

Sonny

Member
Licensed User
Longtime User
Please explain again the request. The purpose of this feature is to allow you to set the same color in your code?
Perform the following in the Designer:

- add view; label
- for color, select; Crimson
- right click; copy label
- right click; paste label

---> color property on first label shows; Crimson
---> color property on second label shows; 220, 20, 60

If I move my cursor to "220, 20, 60", change a value, hit enter, change it back, and hit enter; the Designer will automatically change it to "Crimson". There is NOTHING I can do to "Crimson" to make it change it to; "220, 20, 60".

I would like an option that lets me freely switch back and forth between "Crimson" and "220, 20, 60".

Then I could simply copy "220, 20, 60" from the Designer, and paste it into my code; "Colors.ARGB(255, 220, 20, 60)". No messing around with hex to decimal conversions, etc.

Simple, no fuss, no muss.
 

Sonny

Member
Licensed User
Longtime User
It is not a simple change.

I think that you aren't aware to the fact that you can use the hex value directly in your code:
Select the color in the code editor color picker:
SS-2014-01-27_11.53.00.png


Now just write:
B4X:
Button1.Color = 0xFFDC143C 'paste from the clipboard
Thanks again for the insight.

I find it irksome that I need to MANUALLY convert between hex and decimal if I wish to work between my code window and the Designer. Perhaps, if I gave you two applications that were bundled together - one in english and one in spanish - you might then begin to feel as I do.

If you say it's not a simple change, then forget it. I'll just have to make do until I can manage something better.
 

tuhatinhvn

Active Member
Licensed User
Longtime User
Enable select icon for command button.

Enable select font for any view

Label or edittext direct edit in design exam photoshop

Feature : select multi view then : same left,same top,.....

Same design interface with vb6 or vb.net
 
Top