Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
idekkers  
#1 Posted : Sunday, September 5, 2010 1:55:26 AM(UTC)
idekkers

Rank: Advanced Member

Groups: Member
Joined: 2/27/2010(UTC)
Posts: 74

hi

I'm trying to figure out where one of the alert messages is hiding, since i need to replace it?

I'm talking about the one, when you add an icon to the work area, and try to delete it with the Del key?
the alert reads:"Current object will be deleted. Continue?"

thanks
Dmitry.Obukhov  
#2 Posted : Sunday, September 5, 2010 8:07:19 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Ido,

Unfortunately, you are not able to replace text of this alert directly, but you can implement simple function. It allows replacing the old text with your own one. To do it, you should create this function in PhotoLabelSample.aspx file:
Code:

function deleteVObject(canvas, onDelete) {
 if (confirm('Your own text')) {
  onDelete();
 }
}

Then you need to call it in Sys.Application.add_load(function()) in the same file:
Code:

Sample.get_photoLabel().get_canvasViewer().get_canvas().add_currentVObjectDeleting(deleteVObject);

If you have any additional questions about it please feel free to let me know.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
idekkers  
#3 Posted : Monday, September 6, 2010 7:28:19 PM(UTC)
idekkers

Rank: Advanced Member

Groups: Member
Joined: 2/27/2010(UTC)
Posts: 74

thank's working perfectly

maybe in the next version you can put all the messages and tags in an XML,
would make it a lot easier to globalize
Dmitry.Obukhov  
#4 Posted : Monday, September 6, 2010 8:02:01 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Ido,

Thanks for your comment.

We will think about your suggestion.
Please let me know if you have any other questions.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Users browsing this topic
Forum Jump  
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.