Hot Topic (More than 10 Replies) application changes color on its own (Read 1791 times)
FSGROUP
Full Member
***
Offline


No personal text

Posts: 179
Location: Edmonton, Alberta, Canada
Joined: Jan 14th, 2004
application changes color on its own
Mar 24th, 2004 at 6:22pm
Print Post Print Post  
i know that sounds ridiculous, but i've experienced this strangeness twice already.  I have made zero changes to the background/fill color in Designer, but the app. on the Server's color changed.

My app froze in Sesame, so I had to go into Server admin (from another client machine) and shut it down.  When I reopened another app. on Sesame, it's back/fill color is changed (on its own!!).  I even opened it in Designer (thru Redesign application) and sure enough, the colors are all messed up.  and there has been absolutely no changes made to the .dsr file!

  
Back to top
IP Logged
 
PeterG
Member
*
Offline


No personal text

Posts: 11
Joined: Jan 19th, 2004
Re: application changes color on its own
Reply #1 - Mar 25th, 2004 at 6:22pm
Print Post Print Post  
I found a similar (same?) thing happening when I inserted a subform into the form.  When the subform is visible, all of the backfill  in the LE's below the subform take on a different color.  Take the subform away and everything is normal.  Scroll the page down so you can't see the subform and everything is normal.  Can't figure it out.
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: application changes color on its own
Reply #2 - Mar 25th, 2004 at 6:25pm
Print Post Print Post  
There is some sort of palette collision occuring between the Form and Subform. PeterG, could you possibly send a copy of your application to support@lantica.com ? It would help us to track this down if we had an example of it to use for debug.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: application changes color on its own
Reply #3 - Mar 26th, 2004 at 6:56pm
Print Post Print Post  
Carl,

Thank you for the application. We've been able to use it to confirm the palette collision. We don't know the reason yet, but have determined the cause, and boy is it weird!  Shocked

There is a particular shade of grey. The RGB value is 229,229,229. Get rid of this color in your Form and Subform and the problem will go away.  Any other shade of grey appears to be fine.

Carl, in your case, to completely eradicate the use of this color, you also need to right click on each Form and delete the Q&A drawing characters.

We're now looking into why in the world this particular shade of gray is special...
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Re: application changes color on its own
Reply #4 - Mar 26th, 2004 at 7:53pm
Print Post Print Post  
Quote:
We're now looking into why in the world this particular shade of gray is special...


Were does one go to look for an answer like that ???
  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: application changes color on its own
Reply #5 - Mar 26th, 2004 at 8:02pm
Print Post Print Post  
Quote:
Were does one go to look for an answer like that ???


One goes to the source code, Grasshopper. The answers to all the mysteries of color palette collision lie within its murky depths.  Grin

Actually, it's probably just a coincidence that this particular color is whacking things. We think we've found what's going on here. It should be fixed for the next release.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: application changes color on its own
Reply #6 - Mar 27th, 2004 at 12:25am
Print Post Print Post  
Quote:
Carl,

Thank you for the application.

Do you mean the "Invoice From Scratch.db" that I sent in just over a month ago, before the release of 1.0.2?

Quote:
It should be fixed for the next release.

The specific problem I reported seems to have been fixed with the new release.  Are you seeing this current problem with 1.0.2?
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: application changes color on its own
Reply #7 - Mar 27th, 2004 at 7:07am
Print Post Print Post  
I don't know if this will be of any help......I participate in about a dozen or more forums, and cannot recall where I saw this.  but sometime in the past few weeks, I found a reference from a developers group that they suddenly found that the bits for color were not in RGB sequence, but were actually in a different order like BGR or something.  The problem came from Microsoft's specs which call out the "different " sequence that is most commonly referred to as RGB.  It was only showing up as a problem in random cases, and took along time to identify the problem source.

This is not an area of expertise for me, and you are probably already aware of Microsoft's non-RGB sequencing.  I just offer it in case this applies, hopefully you will know where to look in the MS API specs to locate this.

I will try to do a search on the other forums as I pass through them, maybe I will luck out and find it real quickly.

« Last Edit: Apr 11th, 2004 at 3:36pm by Bob_Hansen »  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: application changes color on its own
Reply #8 - Mar 27th, 2004 at 1:02pm
Print Post Print Post  
You do NOT want to get me started on the BGR thing!  Grin
I spent six tooth-grinding hours in one of my first VB development projects trying to figure why in the Sam Hill all my color settings were so bizarre. I was sitting there with a hex calculator trying to figure out if I'd suddenly lost the ability to make hex colors due to some strange brain disease! Why something called RGB, always called RGB, STILL called RGB suddenly needed to have it's values entered in alphabetical order, I have no idea.

*pant pant pant* I'm okay now...

In the case of the color issue:
1. Sorry for the mixup, Carl. It was PeterG who sent this particular app. Thank you , PeterG.
2. Yes, it can still happen in 1.0.2. Whether you see it depends on a number of factors.

It only happens when the subform is not the last element on your Form. After the subform draws, using its colors, Sesame may not correctly go back to using the Parent form colors, causing the elements following the subform to draw with the wrong colors.

It's taken care of now and the fix will appear in the next release.

  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: application changes color on its own
Reply #9 - Apr 10th, 2004 at 9:40pm
Print Post Print Post  
I'm having a problem with colors in 1.0.3

I can only get the background color to be correct.

Example:

if  Transaction = Return then @color(Price, 12,7)

is giving White text on White background. It should be Bright green on white (according to my manual).

All Text colors are appearing incorrectly. (Default color for Price Le is black on white.

I'm trying to get red on white.

Thanks,

Steve in Texas
  
Back to top
IP Logged
 
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Re: application changes color on its own
Reply #10 - Apr 10th, 2004 at 10:01pm
Print Post Print Post  
Steve,

I believe the manual is incorrect.


if HCFA5 = "" then
{
@color(HCFA5,0,1)
}

Turns my element Red whith white text.

  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: application changes color on its own
Reply #11 - Apr 10th, 2004 at 10:55pm
Print Post Print Post  
Thanks BobScott, your right.

Steve
  
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: application changes color on its own
Reply #12 - Apr 11th, 2004 at 5:18am
Print Post Print Post  
Quote:
I'm trying to get red on white.


Steve,

This will give you RED text on a WHITE background.

@color(ElementName,1,7)
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: application changes color on its own
Reply #13 - Apr 11th, 2004 at 12:50pm
Print Post Print Post  
Thanks Carl. I assume you all found this out from trial and error?

Happy Easter,

Steve in Texas
  
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: application changes color on its own
Reply #14 - Apr 11th, 2004 at 7:57pm
Print Post Print Post  
Quote:
I assume you all found this out from trial and error?

Yes. 8) As you found out, the manual is incorrect.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged