Creating controls Ad Hoc 
Author Message
 Creating controls Ad Hoc

I know that you can create a control ad hoc in VB3 code similar to:
     load ctlTextBox(1)
     ctlTextBox(1).Top = ctlTextBox(0).Top + ctlTextBox(0).Height
     ctlTextBox(1).Left = ctlTextBox(0).Left
     ctlTextBox(1).Visible = True

What I need to know is, how can you place a control created this way
into a container control like SSPanel?



Sun, 23 Apr 2000 03:00:00 GMT  
 Creating controls Ad Hoc

After I sent the question I realised that all I need do is use the windows
API call 'SetParent', as follows:
    hOldParent = SetParent(ctlTextBox(0).hWnd, pnlContainer(0).hWnd)



Sun, 23 Apr 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Creating Ad-Hoc Report at run-time?

2. Creating Ad-Hoc Report at run-time?

3. Creating Ad Hoc Reports

4. creating reports from ad-hoc queries

5. Creating Ad-Hoc Report at run-time?

6. display ad hoc query results

7. Ad-hoc Query Toolkit

8. Ad Hoc Report Generator

9. ActiveReports, adding page to ad hoc rpt

10. Ad hoc reporting?

11. Ad hoc reps,Searching text,wizards

12. Ad Hoc Reports, Searching Text, Wizards

 

 
Powered by phpBB® Forum Software