Computer Science Canada

How to make calendar with a MS Flex Grid in VB 6?

Author:  peterggmss [ Tue Jan 16, 2007 6:22 pm ]
Post subject:  How to make calendar with a MS Flex Grid in VB 6?

I've been trying to do this and can't figure it out. Does anyone here know how to use a MS Flex Grid in VB 6 to display a day planner type system? I have a MS Calendar control on the same form.

I got the
code:
Grid1.Text = Event
, how can I make it appear in a specific cell?

Thanks!

Author:  cool dude [ Tue Jan 16, 2007 6:32 pm ]
Post subject:  Re: How to make calendar with a MS Flex Grid in VB 6?

Is that you in the tutorial section asking about the calender?

Anyhow to add text to a specific grid you must specify which cell you want. To do that here is example

code:

fg.Col = 0
fg.Row = 0
fg.Text = "Cool Dude
fg.Col = 1
fg.Text = "Silent Avenger"
fg.Col = 2
fg.Text = "Wtd"


Note fg is the name of my flexgrid.

Notice how the 1 cell is 0,0. the flexgrid starts in column 0 and row 0. you specify which row/column you want to place the text then you place the text.

Author:  peterggmss [ Tue Jan 16, 2007 7:23 pm ]
Post subject:  RE:How to make calendar with a MS Flex Grid in VB 6?

no, that's not me. But is could be someone in my comp sci class. for our summative, due this week, we have to make a full-featured PDA with datebook, games, phone book, etc.

Author:  cool dude [ Tue Jan 16, 2007 9:01 pm ]
Post subject:  Re: How to make calendar with a MS Flex Grid in VB 6?

oh alright sorry. the posts looked very similar. Anyhow did what i say help?


: