Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Some FlexGrid Question


Reply
 
Thread Tools Display Modes
  #1  
Old 11-21-2003, 04:34 PM
jamal464 jamal464 is offline
Junior Contributor
 
Join Date: May 2002
Location: BAHRAIN
Posts: 232
Default Some FlexGrid Question


Hi

1. Can i make the last Row to be Fixed

2. I have FlexGrid1 with full data and FlexGrid2 with no data and i use the drag and drop method is it possible to stop adding more Row or data if FlexGrid2 is full 'bug

3. I have FixedCol numbring from 1 to 10 if i add Row in runtime is it possible to take number 11

4. How to use vbenddrag between 2 FlexGrid
__________________
Jamal

Last edited by jamal464; 11-21-2003 at 06:31 PM.
Reply With Quote
  #2  
Old 11-22-2003, 12:56 AM
Flyguy's Avatar
Flyguy Flyguy is offline
Lost Soul

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Vorlon
Posts: 18,885
Default

1. You can't
2. Define what you mean with FlexGrid2 is full
3. Using the .AddItem method you can specify the destination row
4. Again I don't understand what you are doing
Reply With Quote
  #3  
Old 11-22-2003, 08:04 AM
jamal464 jamal464 is offline
Junior Contributor
 
Join Date: May 2002
Location: BAHRAIN
Posts: 232
Default

Thank`s Flyguy

2. Let say i'm draging row's from FlexGrid1 to FlexGrid2 and in the FlexGrid2 there is only 10 Row's so if i keep used the drag method then it will keep add new row to FlexGrid2 after reach the 10 row's

4. In the Drag Method operation there is settings for action
vbCancel ' Take value 0
vbBeginDrag 'Take value 1
vbEndDrag 'Take value 2

can i use these action's with dragging row's
__________________
Jamal
Reply With Quote
  #4  
Old 11-22-2003, 11:13 AM
Flyguy's Avatar
Flyguy Flyguy is offline
Lost Soul

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Vorlon
Posts: 18,885
Default

2. That's based on your implementation. The FlexGrid controls doesn't have magicall drag & drop support between FlexGrids, so you must have done the coding yourself.

4. I know them, but what do you want to do, what is your goal? Aborting a drag & drop action??
Reply With Quote
  #5  
Old 11-23-2003, 07:46 AM
jamal464 jamal464 is offline
Junior Contributor
 
Join Date: May 2002
Location: BAHRAIN
Posts: 232
Default

2. I try sevrel coded but still add new row ' not big deal

4. It seem no budy use these state just i want to now when i can use this state with the MsFlexGrid

Thank's
__________________
Jamal
Reply With Quote
  #6  
Old 11-23-2003, 09:20 AM
Flyguy's Avatar
Flyguy Flyguy is offline
Lost Soul

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Vorlon
Posts: 18,885
Default

2. Then it must be some coding error.

4. Straight from MSDN:
Quote:
The settings for action are:

Constant: Value, Description
vbCancel: 0, Cancels drag operation
vbBeginDrag: 1, Begins dragging object
vbEndDrag: 2, Ends dragging and drop object
Reply With Quote
  #7  
Old 11-23-2003, 10:38 AM
jamal464 jamal464 is offline
Junior Contributor
 
Join Date: May 2002
Location: BAHRAIN
Posts: 232
Default

You are right i just solve the problem

The drag method as i understand from MSDN is for operation of any control

Is that mean that we can't use it with the Row's and the Column's Operation

Thank's for help
__________________
Jamal
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
1 last Flexgrid question pjfatboy General 3 08-30-2003 11:10 AM
Question About Flexgrid pls... Help zoul1380 General 1 06-23-2003 05:33 AM
FlexGrid Question Lintz General 8 05-04-2003 10:38 PM
flexgrid question smilemax General 3 04-30-2002 09:32 AM
Another FlexGrid question omarullo General 3 03-30-2001 03:25 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->