Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by niclas73

  1. niclas73

    Printing different dbgrids with one procedure?

    Thanks buho That was just wat I looking for, I cast a vote for you as TipMaster.. :) /niclas
  2. niclas73

    Printing different dbgrids with one procedure?

    Hi again Maby I explain my problem bad. I have several dbgrids in my form, I want to use one button to print some of them. I check the activeControl like this: if (ActiveControl is TDBGrid) then DBGridPrint(*The name of the active DBgrid*,'Search result'); procedure...
  3. niclas73

    Printing different dbgrids with one procedure?

    Hi i have a procedure to print dbgrids call it like this: //------------------------------------- DBGridPrint(DBGSearch,'Search result'); procedure TForm1.DBGridPrint(DBGrid: TDBGrid; Title: string); How can i use this procedure for any dbgrid in my form? I´ve try this...
  4. niclas73

    Add/insert Arow in TStringGrid

    Hi and thanks I solved it like this: in my database while loop I put this line of code: ------------------- if new teamgroup blablba then UpdateGrid(StringGrid2.RowCount + 1); ------------------- procedure TframAdmSetupSchedule_2.UpdateGrid(rowCount: integer); begin //Update rowcount...
  5. niclas73

    Add/insert Arow in TStringGrid

    Hi Is there a way to insert a new row before another in StringGrid1DrawCell?? I loop out posts from a database and whant to add a new row to group the posts like: Team 1 // this is a new added row employee1 employee2 employee3 Team 3 // this is a new added row employee4 employee5 ... Thanks...
  6. niclas73

    schedule with stringgrid

    Thanks Andrew Is it possible to fill a rect induvidual depending on a value in the cell (collected from database)? say a cell value is 15 and the widht of the cell is 20, I would like to fill that cell 75% whit green color. I´m trying to create a schedule that displays employees working hours...
  7. niclas73

    schedule with stringgrid

    Hi How do I fill a column rect depending of a value of a variable? if variable := 6 then fill column(6) I am trying to make a schedule with a stringgrid where the stringgrid looping out employees with different work times. The columns I have in the stringgrid is: name, and time columns from...

Part and Inventory Search

Back
Top