Re: Help with selecting an image to display.

2001-06-08 Thread Oleg V Alexeev

Hello Alex,

Friday, June 08, 2001, 4:17:37 PM, you wrote:

AC> Hi, I am looking for advice regarding the use of two images.

AC> Lets say you have a class status that has two boolean state properties
AC> isModify() and isNew(). If isModify() returns true then I want to display
AC> modify.gif and call the JavaScript function modify() and, if isNew() is true
AC> then I want to display new.gif and also call modify().

AC> Anyone have an example of this or could offer some advice?

Name your properties as getIsModify() and getIsNew() and after that
you can use such constructions as -


 display modify.gif


-- 
Best regards,
 Olegmailto:[EMAIL PROTECTED]





Help with selecting an image to display.

2001-06-08 Thread Alex Colic

Hi, I am looking for advice regarding the use of two images.

Lets say you have a class status that has two boolean state properties
isModify() and isNew(). If isModify() returns true then I want to display
modify.gif and call the JavaScript function modify() and, if isNew() is true
then I want to display new.gif and also call modify().

Anyone have an example of this or could offer some advice?

Thanks.

Regards

Alex

 Alex Colic.vcf