Indigo Rose Software
  #1  
Old 11-08-2007
Solmos Solmos is offline
Forum Enthusiast
 
Join Date: Aug 2006
Posts: 355
Thumbs down Problem with auto resize and DataGrid plugin

As I resize the auto-size of the columns of datagrid?

On resize evenT?
Reply With Quote
  #2  
Old 11-08-2007
Dermot Dermot is offline
Indigo Rose Customer
 
Join Date: Apr 2004
Location: Vancouver, Canada
Posts: 1,520
You were given the solution in your other post. You said it did not work because of an error. What was the error? Did you change the name of the datagrid to match yours?
__________________
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
  #3  
Old 11-08-2007
bule's Avatar
bule bule is offline
Indigo Rose Customer
 
Join Date: May 2005
Posts: 1,147
I just tried this:
Code:
DataGrid.ExpandColumnsToFit("Datagrid1", true, true);
And it works. As Dermot is pointing out, is your datagrid object named "Datagrid1" or something else? If it's something else, change the upper code.

You said:
Quote:
If use this code, aplication not work, because detects one error and close...
What kind of error?
__________________
Never know what life is gonna throw at you.
(Based on a true story.)
Reply With Quote
  #4  
Old 11-09-2007
Solmos Solmos is offline
Forum Enthusiast
 
Join Date: Aug 2006
Posts: 355
Thumbs down

Please test this example...

Is needed the datagrid plugin...
Attached Files
File Type: rar Datagrid bug.part1.rar (976.6 KB, 47 views)
File Type: rar Datagrid bug.part2.rar (879.2 KB, 37 views)
Reply With Quote
  #5  
Old 11-09-2007
bule's Avatar
bule bule is offline
Indigo Rose Customer
 
Join Date: May 2005
Posts: 1,147
Your archive is corrupted.
__________________
Never know what life is gonna throw at you.
(Based on a true story.)
Reply With Quote
  #6  
Old 11-09-2007
madsen's Avatar
madsen madsen is offline
Indigo Rose Customer
 
Join Date: Jun 2004
Posts: 14
Thumbs up Repack

Quote:
Originally Posted by bule View Post
Your archive is corrupted.
The archive seems fine to me, probably he used latest version for the RAR. I repacked for you in good old ZIP
Attached Files
File Type: zip Datagrid_bug.zip (1.86 MB, 61 views)
Reply With Quote
  #7  
Old 11-10-2007
Solmos Solmos is offline
Forum Enthusiast
 
Join Date: Aug 2006
Posts: 355
Please test!
Reply With Quote
  #8  
Old 11-10-2007
madsen's Avatar
madsen madsen is offline
Indigo Rose Customer
 
Join Date: Jun 2004
Posts: 14
I don't have the DataGrid plugin so I would be unable to test, the only help I could provide was to repack the archive.

Probably some helpful folks around will go into testing
Reply With Quote
  #9  
Old 11-11-2007
bule's Avatar
bule bule is offline
Indigo Rose Customer
 
Join Date: May 2005
Posts: 1,147
Yes this seems to be a bug, I'm not sure why.
There is a workaround, however:
Add another empty page as a first page, and add
an action on it's OnShow event to jump to your page.
Also, add DataGrid.ExpandColumnsToFit("Plugin1", true, true);
to the end of the OnShow event.

Here:
Attached Files
File Type: zip Datagrid bug.zip (2.7 KB, 28 views)
__________________
Never know what life is gonna throw at you.
(Based on a true story.)
Reply With Quote
  #10  
Old 11-11-2007
Solmos Solmos is offline
Forum Enthusiast
 
Join Date: Aug 2006
Posts: 355
Thumbs down

Not work this example... is error in AMS...
Reply With Quote
  #11  
Old 11-11-2007
bule's Avatar
bule bule is offline
Indigo Rose Customer
 
Join Date: May 2005
Posts: 1,147
What kind of an error?
(You need to replace your am7 file with the one in the archive.)
__________________
Never know what life is gonna throw at you.
(Based on a true story.)
Reply With Quote
  #12  
Old 11-12-2007
Solmos Solmos is offline
Forum Enthusiast
 
Join Date: Aug 2006
Posts: 355
Thumbs down







Reply With Quote
  #13  
Old 11-18-2007
Solmos Solmos is offline
Forum Enthusiast
 
Join Date: Aug 2006
Posts: 355
Oops

HELP!!!!!!!!!!!!
Reply With Quote
  #14  
Old 11-18-2007
alban's Avatar
alban alban is offline
Forum Member
 
Join Date: Oct 2007
Location: Italy&Albania
Posts: 17
Quote:
Originally Posted by Solmos View Post
HELP!!!!!!!!!!!!
try media studio 6 :P
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
[AMS7] Problem with auto resize and DataGrid plugin Solmos AutoPlay Media Studio 6.0 3 11-08-2007 04:21 PM


All times are GMT -6. The time now is 03:35 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