activate a TsWebLabel programmatically? Root › Technical support › Tricks This topic has 2 replies, 2 voices, and was last updated 15 years ago by Catz. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts April 5, 2010 at 5:40 pm #33655 CatzParticipant How can I activate a TsWebLabel programmatically? I wish to allow users to doubleclick on a list of websites to launch their browser. Currently I have the TsWebLabel.URL property updated when the user clicks an item in the list. They then have to click the label itself to launch their browser. Any ideas anyone? April 7, 2010 at 10:18 am #42131 SupportKeymaster Maybe will be better to use a code like this : CODE ShellExecute(Application.Handle, 'open', PChar(sWebLabel1.URL), nil, nil, ord(soDefault)); uses ShellAPI; April 7, 2010 at 11:33 am #42146 CatzParticipant QUOTE (Support @ Apr 7 2010, 11:18 AM) Maybe will be better to use a code like this : CODE ShellExecute(Application.Handle, 'open', PChar(sWebLabel1.URL), nil, nil, ord(soDefault)); uses ShellAPI; Thanks a lot, that works fine. Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In Root › Technical support › Tricks