Welcome Guest Search | Active Topics | Sign In | Register

Simulating a Mac Dialog Options
Mark Rae
Posted: Sunday, November 16, 2008 6:47:03 AM
Rank: Advanced Member
Groups: Member

Joined: 11/13/2008
Posts: 43
Hi,

Looking at the "Style 1" design in the Dialog examples, it's very similar to a Mac dialog box and I'm wondering if it's possible to tweak it so that it looks exactly like a Mac dialog box, specifically:

1) position the Close button on the left instead of the right;

2) change the colour of the Close button to red;

3) change the image in the Close button from a cross [x] to a dot [.];

3) centre the Dialog title.

Thanks,

Mark
eo_support
Posted: Sunday, November 16, 2008 7:25:37 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi Mark,

I do not think #1 is possible. For #2 and #3 you would just change the close button image. The dialog does not have any built-in support for #4. You can try to use HTML code instead of plain text for the dialog title text and see if that works.

Hope this helps.

Thanks
Mark Rae
Posted: Sunday, November 16, 2008 7:50:57 AM
Rank: Advanced Member
Groups: Member

Joined: 11/13/2008
Posts: 43
eo_support wrote:
I do not think #1 is possible.

Shame - would look so cool on a Mac! Maybe something to consider for a future release...?

eo_support wrote:
For #2 and #3 you would just change the close button image.

I presume you mean the CloseButtonUrl property? Currently, this is set to "00020312". I'm guessing that this is an embedded resource in the EO_Web.dll. Is there a list anywhere which shows these...?

eo_support wrote:
The dialog does not have any built-in support for #4. You can try to use HTML code instead of plain text for the dialog title text and see if that works.

D'oh! I really could have taken the time to RTFM - sorry...d'oh!

Code: HTML/ASPX
HeaderHtml='<div style="padding-top:5px;text-align:center">Dialog title</div>'
eo_support
Posted: Sunday, November 16, 2008 7:56:35 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

"00020312" is an embedded resource. You can give it a Url though. Just click the drop down on the property in the property window and you should be able to see all the options.

Thanks
Mark Rae
Posted: Sunday, November 16, 2008 8:03:35 AM
Rank: Advanced Member
Groups: Member

Joined: 11/13/2008
Posts: 43
eo_support wrote:
"00020312" is an embedded resource. You can give it a Url though. Just click the drop down on the property in the property window and you should be able to see all the options.

I don't have a drop down on the property in the propery window - that's why I'm asking if there is a list somewhere of these embedded resources...
eo_support
Posted: Monday, November 17, 2008 6:23:20 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
That would be a problem. Would you be OK for us to take a look of your machine? We can setup an online meeting for you to share your desktop with us.

Thanks
Mark Rae
Posted: Monday, November 17, 2008 6:38:22 AM
Rank: Advanced Member
Groups: Member

Joined: 11/13/2008
Posts: 43
eo_support wrote:
Would you be OK for us to take a look of your machine?

No.


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