Indigo Rose Software
  #1  
Old 03-07-2008
Dermot Dermot is offline
Indigo Rose Customer
 
Join Date: Apr 2004
Location: Vancouver, Canada
Posts: 1,520
Serious ComboBox Issue

This issue has started since updating to the latest version. I have attached an example that demonstrates this serious problem.

One of the fixes in the new version is that a comboboxes On Select event now fires when you select a combobox item using the ComboBox.SetSelected() action.

In my example I have a combobox which sets the save reminder label visible in its On Select event. When the page loads it selects the first item in the combobox using ComboBox.SetSelected(). This fires the On Select event which sets the reminder label visible.

This is all fine but I don't want the save reminder label shown when the page loads, it should only show if I change the selection in the combobox. So after calling the ComboBox.SetSelected() action I hide the label. The problem is that line of code that hides the label never executes and the reminder label is not hidden.

The only way to force it to execute that line of code is to put an Application.Sleep(1) before it. Dialog.Message() also works.

I spent a long time trying to figure out what was going on. I just couldn't believe that the code was not being executed. It will execute fine if you don't have the ComboBox.SetSelected().

This is very scary that code that should be executed is not. I feel this is a very serious issue that needs to be address ASAP. At the very leaset put the combobox back the way it was so that the On Select event does not fire when you select an item using code. By the way, selecting an item in a listbox using code does not cause this problem.

Comboboxes in AMS are painfully slow. If you have a lot of comboboxes, they will slow page loads down big time. I am pretty sure that this is what is causing the problem described above. Listboxes on the other hand do not slow down page loads no matter how many are on the page. I think this is also a serious issue that I have brought up before but never got a response.
__________________
Dermot

AMS Add-ons - xDialog.com

A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

Last edited by Dermot; 6 Days Ago at 10:33 PM.
Reply With Quote
  #2  
Old 03-07-2008
holtgrewe holtgrewe is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: Just South of Reality
Posts: 732
Dermot
This is a really stange problem.
I was actually able to change the label text prior to 'trying' to hide the label, and still couldn't hide the label. (I'm sure you tried all sorts of combinations as well)...

I agree, there needs to be a very quick fix to 7.1.1005 to remedy this.
Your work-around does of course work but, You must have confidence all the code will actually run - you start to wonder what else isn't working???
Reply With Quote
  #3  
Old 03-07-2008
Dermot Dermot is offline
Indigo Rose Customer
 
Join Date: Apr 2004
Location: Vancouver, Canada
Posts: 1,520
Quote:
You must have confidence all the code will actually run - you start to wonder what else isn't working???
Exactly. This is very serious.
__________________
Dermot

AMS Add-ons - xDialog.com

A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.
Reply With Quote
  #4  
Old 03-09-2008
patrick6 patrick6 is offline
Indigo Rose Customer
 
Join Date: Mar 2004
Location: Alabama
Posts: 108
What's up with the lack of response of these things? I don't get it.
__________________
I don't mind showing up for work. It's them expecting me to stay for 8 hours that's causing the problem...
Reply With Quote
  #5  
Old 03-10-2008
S0mbre's Avatar
S0mbre S0mbre is offline
Forum Member
 
Join Date: Jan 2008
Location: Ufa, Russia
Posts: 128
I've an applet that has 3 pages each with 10 combos in them, so 30 combos in total, and to speed up the load I just set the application to redraw the page. Worked fine with me!
Reply With Quote
  #6  
Old 03-10-2008
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
We'll be looking into this issue and should have it resolved for the next service release, some time this week.

REF: 17291
__________________
Darryl
Indigo Rose Corporation

Product Guides: AMS70 | SUF80 | TU30 | VP30 |MSIFACT |DeltaMAX
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ComboBox Speed Issue Dermot AutoPlay Media Studio 7.5 Discussion 5 11-11-2007 03:40 PM
ComboBox Code ? dragon3781 AutoPlay Media Studio 6.0 6 09-24-2007 03:53 AM
Serious AM6 Security Issue Question travisperkins AutoPlay Media Studio 6.0 17 03-27-2006 06:16 PM
ComboBox Reset azmanar AutoPlay Media Studio 6.0 2 12-29-2005 01:46 PM
ComboBox display current pjhiggins AutoPlay Media Studio 5.0 4 05-21-2004 01:14 PM


All times are GMT -6. The time now is 05:12 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software