NeoSoft Support Forum Forum Index  Your source for Plug-Ins, sample publications, source code and more...

Source Language:
Translate to:

NeoSoft Support Forum
NeoSoft Community Support Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   SmartFeedSmartFeed   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

BAKGROUND ROW COLOR FOR DBPRO
Goto page 1, 2  Next
 
Post new topic   printer-friendly view   Reply to topic    NeoSoft Support Forum Forum Index -> NeoBook Suggestions
View previous topic :: View next topic  
Author Message
The Not Man
NeoBooker


Joined: 23 Feb 2006
Posts: 52
Location: Lachine, Qc

PostPosted: Fri Nov 06, 2009 11:20 am    Post subject: BAKGROUND ROW COLOR FOR DBPRO Reply with quote

That would be great to have a way to put a background color for a row in DBPro.

I know that by default there is a row bkg color and alternate row bkg color, Which is woking properly. But I would need the option to be able to set a bkg color of my choice depending of a status.

Example: A field that the status is New, then the color should be red for urgent. Blue for processed. Orange for callback and white for close.

That could be pretty cool!
Back to top
View user's profile Send private message MSN Messenger
Neosoft Support
NeoSoft Team


Joined: 31 Mar 2005
Posts: 4048
Location: Oregon, USA

PostPosted: Mon Nov 09, 2009 12:56 pm    Post subject: Reply with quote

I'm not sure if it's possible, but I will add it to the list of things to consider.
_________________
NeoSoft Support
Back to top
View user's profile Send private message Send e-mail Visit poster's website
The Not Man
NeoBooker


Joined: 23 Feb 2006
Posts: 52
Location: Lachine, Qc

PostPosted: Mon Nov 23, 2009 9:00 am    Post subject: Reply with quote

Thank you!
Back to top
View user's profile Send private message MSN Messenger
fieldhopper
NeoBooker


Joined: 09 Mar 2008
Posts: 28
Location: Germany

PostPosted: Tue Dec 08, 2009 11:57 am    Post subject: Reply with quote

Well, i need this function too. When can it be used ? Shocked
_________________
Regards fieldhopper

____________________________________________________
Es sind schon viele erfroren, aber noch keiner ist ermieft.
____________________________________________________
Back to top
View user's profile Send private message Visit poster's website
Wrangler
NeoBooker


Joined: 31 Mar 2005
Posts: 1331
Location: USA

PostPosted: Wed Dec 09, 2009 8:34 am    Post subject: Reply with quote

I would imagine it can be used when and if it is done. Shocked

There are other ways to do this. One would be to draw a rectangle around the grid, and change the border color accordingly. Or, you can locate an icon near the grid that changes as required. Or a text box somewhere would work. Even a popup box. Or an audio file announcing it.

Yes, it would be nice to have this feature built-in, but I wouldn't consider it a "need". It's just eye candy.
_________________
Wrangler
--------------
Before you criticize someone, walk a mile in their shoes. Then when you criticize them you're a mile away and you have their shoes. Surprised - Wrangler

Software made with NeoBook
http://highdesertsoftware.com
Back to top
View user's profile Send private message Visit poster's website
beno
NeoBooker


Joined: 01 Apr 2005
Posts: 805
Location: México

PostPosted: Wed Dec 09, 2009 3:22 pm    Post subject: Reply with quote

Hi,

Another approach can be achieved creating a customized grid in a WebBrowser Object. Your imagination would be the limit.

My cent,

beno
_________________
---------
http://www.benitoestrada.net
Back to top
View user's profile Send private message Send e-mail Visit poster's website
fieldhopper
NeoBooker


Joined: 09 Mar 2008
Posts: 28
Location: Germany

PostPosted: Thu Dec 10, 2009 8:57 am    Post subject: Reply with quote

Ok, that are some ways to generate eyecatcher, but that is not the way for my custom. This is a wish of mine and i need it for my veterinary surgeon software and it is a proposal of the custom.
So it would be nice to realize this function asap. Wink
_________________
Regards fieldhopper

____________________________________________________
Es sind schon viele erfroren, aber noch keiner ist ermieft.
____________________________________________________
Back to top
View user's profile Send private message Visit poster's website
Neosoft Support
NeoSoft Team


Joined: 31 Mar 2005
Posts: 4048
Location: Oregon, USA

PostPosted: Thu Dec 10, 2009 12:35 pm    Post subject: Reply with quote

How would you envision this feature would work? How would the grid know which cells to highlight?
_________________
NeoSoft Support
Back to top
View user's profile Send private message Send e-mail Visit poster's website
fieldhopper
NeoBooker


Joined: 09 Mar 2008
Posts: 28
Location: Germany

PostPosted: Fri Dec 11, 2009 6:25 am    Post subject: Reply with quote

How to work ?

If a column have a particularly contents like my program contains '1-U' in the first column , the row may be red. the first column can change in dependence of the contents and so the color will change.

Hope you understand my wish, cause my english is not the best. Embarassed
_________________
Regards fieldhopper

____________________________________________________
Es sind schon viele erfroren, aber noch keiner ist ermieft.
____________________________________________________
Back to top
View user's profile Send private message Visit poster's website
The Not Man
NeoBooker


Joined: 23 Feb 2006
Posts: 52
Location: Lachine, Qc

PostPosted: Fri Dec 11, 2009 11:07 am    Post subject: Reply with quote

Hi all,

I finally find out how I could do this!

In my access database I added a field "GRAPH" to my table, and set it up as Object OLE.

I created 6 different color buttons (bitmap file). With the exact name as the field dropdown list.

EX: Red color button name is New.bmp. Green color button name is Retry.bmp etc...
My Droplist contain New,Retry,Failed,Waiting,Completed,Closed

So what I am doing is that each time that someone change the status in the status field, They it the refresh push button and execute a subroutine that check the name of the field status and copy the exact name with extension bmp and then refresh the database. :

:Indice
. write name of field status to graph field in current query.
. doing a loop from record 1 to toatl of record found depending of the query
Loop "1" "[ACD.Retry.$RecCount]" "[LN]"
dbpGotoRecord "ACD" "Retry" "[LN]"
SetVar "[ACD.Retry.GRAPH]" "![ACD.Retry.STATUS].bmp"
EndLoop
dbpFirst "ACD" "Retry"
dbpRefresh "ACD" "Retry"
Return

This is my way of doing it since we cannot execute anything when a field is edited. Finally, it would be very good to have action options like the push button "On change" on a field edited in the grid Smile

Again, hoping that this can help anyone. Meantime, I will wait to see if this can be done in the next dbpro version Wink
Back to top
View user's profile Send private message MSN Messenger
fieldhopper
NeoBooker


Joined: 09 Mar 2008
Posts: 28
Location: Germany

PostPosted: Sat Dec 12, 2009 9:46 am    Post subject: Reply with quote

A field in a database can't be an option.
Sad
_________________
Regards fieldhopper

____________________________________________________
Es sind schon viele erfroren, aber noch keiner ist ermieft.
____________________________________________________
Back to top
View user's profile Send private message Visit poster's website
Wrangler
NeoBooker


Joined: 31 Mar 2005
Posts: 1331
Location: USA

PostPosted: Sat Dec 12, 2009 9:50 am    Post subject: Reply with quote

The Not Man: Did you try specifying the subroutine as an onchange subroutine when you open the table?
_________________
Wrangler
--------------
Before you criticize someone, walk a mile in their shoes. Then when you criticize them you're a mile away and you have their shoes. Surprised - Wrangler

Software made with NeoBook
http://highdesertsoftware.com
Back to top
View user's profile Send private message Visit poster's website
Wrangler
NeoBooker


Joined: 31 Mar 2005
Posts: 1331
Location: USA

PostPosted: Sat Dec 12, 2009 9:51 am    Post subject: Reply with quote

fieldhopper: Why is adding a field not an option? It can be done on the fly with dbpaddfield.
_________________
Wrangler
--------------
Before you criticize someone, walk a mile in their shoes. Then when you criticize them you're a mile away and you have their shoes. Surprised - Wrangler

Software made with NeoBook
http://highdesertsoftware.com
Back to top
View user's profile Send private message Visit poster's website
fieldhopper
NeoBooker


Joined: 09 Mar 2008
Posts: 28
Location: Germany

PostPosted: Sat Dec 12, 2009 9:55 am    Post subject: Reply with quote

It is a commercial software and is straight in the use.
_________________
Regards fieldhopper

____________________________________________________
Es sind schon viele erfroren, aber noch keiner ist ermieft.
____________________________________________________
Back to top
View user's profile Send private message Visit poster's website
Wrangler
NeoBooker


Joined: 31 Mar 2005
Posts: 1331
Location: USA

PostPosted: Sat Dec 12, 2009 9:59 am    Post subject: Reply with quote

I see. Can it be upgraded? What I do in that situation is issue an upgrade that checks for the field in startup and adds it if it isn't found.
_________________
Wrangler
--------------
Before you criticize someone, walk a mile in their shoes. Then when you criticize them you're a mile away and you have their shoes. Surprised - Wrangler

Software made with NeoBook
http://highdesertsoftware.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    NeoSoft Support Forum Forum Index -> NeoBook Suggestions All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Forum content © 2008 NeoSoft Corp. All rights reserved.