Some one knows how I can set a color on an Command Button.
Vendor Card, command button - Command line, if there are commands color red else black.... #-o
You can create two exact buttons with two different names
You make one red & one blue. you place them on top of each other.
you make one visible if a case is true and another is the case false
Example..
two buttons - one named "StatusOpen" & one named "StatusClosed"
When a sales order is Open the button appears GREEN if released then it;s red
//Control Status Button
CASE Status OF
Status::Open :
CurrForm.StatusOpen.VISIBLE(FALSE);
Status::Released :
CurrForm.StatusOpen.VISIBLE(TRUE);
END;
CASE Status OF
Status::Open :
CurrForm.StatusClosed.VISIBLE(TRUE);
Status::Released :
CurrForm.StatusClosed.VISIBLE(FALSE);
END;
Comments
You make one red & one blue. you place them on top of each other.
you make one visible if a case is true and another is the case false
Example..
two buttons - one named "StatusOpen" & one named "StatusClosed"
When a sales order is Open the button appears GREEN if released then it;s red
//Control Status Button
CASE Status OF
Status::Open :
CurrForm.StatusOpen.VISIBLE(FALSE);
Status::Released :
CurrForm.StatusOpen.VISIBLE(TRUE);
END;
CASE Status OF
Status::Open :
CurrForm.StatusClosed.VISIBLE(TRUE);
Status::Released :
CurrForm.StatusClosed.VISIBLE(FALSE);
END;
More Info:
http://www.geocities.com/navision_attai ... uttons.doc
http://www.BiloBeauty.com
http://www.autismspeaks.org
You can change the bitmaplist property on the comment button from
7,8
to
7,c:\"Your Pic".bmp
We changed ours to this..
7,n:\navision attain\database server\notes.bmp
http://savatage99.googlepages.com/notes.bmp
http://www.BiloBeauty.com
http://www.autismspeaks.org