Results 1 to 3 of 3

Thread: Allways something...

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    Why is it that there is allways something that stops me dead in my tracks from doing what I want to do in Visual Basic? For example, the latest snag is the following:

    I wanted to use a DataGrid on my form to display data in a table. But, I found out that the DataGrid doesn't have the "ScrollTrack" property which allows the grid to scroll as you are moving the scroll bar up and down.. So, I thought, okay, I'll just use the FlexGrid because it has the "ScrollTrack" property. But, then I found out that you can't format the cells so any numbers that are supposed to be in the currency format, will not be in the currency format..

    I allways run into little problems like this.. Why can't Microsoft simply put the "ScrollTrack" property in the DataGrid and the Format cell property in the FlexGrid? It just doesn't make any sense.. It's like they're playing with you.

    I can think of many other little annoyances like this but I won't bore you.. I just needed to get this thing off my chest.

    Does any one have any idea how to mimic the "ScrollTrack" feature in FlexGrid for the DataGrid? I would really like to be able to have the grid scroll as I'm moving the scroll bars..

    Thanks,

    Dan

  2. #2
    Addicted Member curlywink's Avatar
    Join Date
    Mar 2000
    Location
    Manila, Philippines
    Posts
    141
    Hi there, experienced the same scenario before, and the only solution I've found is to try other 3rd Party controls, try Apex TrueDBGrid for instance.

  3. #3
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Talking

    i use MSFlegrid and the solution to the curency problem is to use format ie. The way I add data is like this:

    Dim mydata as String

    mydata= rst!Feild1_
    &vbtab&format(rst!Feild2,"currency")

    msflexgrid1.additem mydata

    The additem might be off, don't have VB running right now.

    Try it and see if it works for you.
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width