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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. simluk

    MSComctlLib TreeView doesn't work properly

    Hello, I have some trubles using MSComctlLib TreeView object. I am programing add-in application for SolidWorks, which API is exposed through COM. When I load this ActiveX control into host application it works very strangely. The tree is formed, but the text on every node is not displayed. Its...
  2. simluk

    Designing static - dynamic table and implementing in c++

    I agree that it's not the easiest way to do things, but i think its more flexible than using table row and column structure. For example if i want to have nested table or if i want to merge cells. Its easier to manipulate cell objects in a table, having only columns as real cell containers. As...
  3. simluk

    Designing static - dynamic table and implementing in c++

    I understand that i have to have base cell class which would be super class for leaf and container. That is what i ment when i told that cell (base cell) can be table (row, column or leaf cell). Befor posting here i was trying to implement a bit different structure, where i had: Table <>--->...
  4. simluk

    Designing static - dynamic table and implementing in c++

    Thanks for explain. This time its much clearer for me what your solution would be. So class diagram for this would be: 1 1..* Container ---> Cell(leaf) ^ /|\ | -----------|---------- | | |...
  5. simluk

    Designing static - dynamic table and implementing in c++

    In first message i wrote that table, column and row contains cellBase - which can be cell(leaf) or other container. So any column(row, column) could be constructed from several columns (rows, tables). I'm not sure if i uderstand your point Bob.. U say that: table 1 -> 0..* cell table 1 ->...
  6. simluk

    Designing static - dynamic table and implementing in c++

    If u choose table-row-cell in that way u will have same situation merging two cells from different rows. Same problem. As for merging two cells from differen columns, i could do as u say, but this is what i will get: Before merge: column_1 contains cell_1 column_2 contains cell_2 After merge...
  7. simluk

    Designing static - dynamic table and implementing in c++

    This table that i try to implement consist of two states: - creating table template - just seting columns(object properties) that has to be displayed, setting up header and footer - and concrete table creation - getting objects, their properties and filling table with data. I think, option that...
  8. simluk

    Designing static - dynamic table and implementing in c++

    I understand the basics of uml, but what mixes me up is this column row table relation. As i understand, i have 3 options: 1) to have table-comlumn-cell structure, excluding rows, where table contains columns ("one to many") and columns contains cells ("one to many" or sometimes "many to many"...
  9. simluk

    Designing static - dynamic table and implementing in c++

    Thanks Bob for reply. Other thing that i can't figure out is how could i separate header and footer class? As u wrote, they actualy are leaf classes, but they also can contain several TextCell objects.. so they are also containers??? Also i know that column, row or table can only have one header...
  10. simluk

    Designing static - dynamic table and implementing in c++

    Hi to all In advance: sorry for my english Problem: Design table that contain columns with data that is taken from database. Using designed structure there should be possibility to create statical table - that consist of fixed number of columns and rows. I also work with filer, so designed...

Part and Inventory Search

Back
Top