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 bkrike 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: *

  • Users: hansaplast
  • Content: Threads
  • Order by date
  1. hansaplast

    Where is the banded rectangle in ListView?

    Moving around on items in a ListView using CTRL-UP/DOWN normally displays a banded rectangle around the item. I can't figure out how to enable this in VB 2005. Currently I only see the blue bounding box around items. Whatever you do will be insignificant, but it is very important that you do...
  2. hansaplast

    ListView selection bug?

    The selection anchor in a listview is not resetted when SelectedItems.Clear is called. Place a ListView with a few items on a from. Next, set ListView.View = "Details". Add a button and add the folowing codePrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)...
  3. hansaplast

    Raise keydown event

    I want to raise a keydown event from within a function. How do I do that? Regards, Hansa Whatever you do will be insignificant, but it is very important that you do it. (Mahatma Gandhi) http://www.jeeval.nl http://www.Logic-Q.nl
  4. hansaplast

    Capture CTRL+C to avoid mem leak

    I'm having memory leaks. I've posted my problem in the Builder forum but I think this also applies to MS VC++. Maybe someone here can have a look at it. http://www.tek-tips.com/viewthread.cfm?qid=1313233&page=1 Tnx.. Whatever you do will be insignificant, but it is very important that you do...
  5. hansaplast

    Capture CTRL+C to avoid mem leak

    Please consider the folowing: main () { MyClass *clss = new MyClass; //.. some code ..// delete clss; }When the programm runs and CTRL+C is pressed, clss is not deleted thus creating a leak. How can I avoid this? I tried 'try' and 'catch' but that doesn't seem to work. Whatever you do...
  6. hansaplast

    Sync (sub)Items to Columns in a TListView

    A long time ago I needed a component which was capable of adding columns and items in a listview. Then Lord Borland presented me the TListView component with which I could add columns and items as much as I liked. I could even add subitems and the world became a beautiful place. I then got the...
  7. hansaplast

    RowLines color in TDBGrid

    Hi, I'm trying to change the rowlines color in the TDBGrid object. I've already tried to use the OnDrawColumnCell prop. But than I can only change datacells, not the fixed ones. What I would like is a datagrid without the gray lines around the cells. But I do want the fixed cels (1st row) to...
  8. hansaplast

    RowLines color in TDBGrid

    Hi, I'm trying to change the rowlines color in the TDBGrid object. I've already tried to use the OnDrawColumnCell prop. But than I can only change datacells, not the fixed ones. What I would like is a datagrid without the gray lines around the cells. But I do want the fixed cels (1st row) to...
  9. hansaplast

    Data aware TListView

    Hi, I want to make TListView columns data aware. I've created a new component derived from TListView called TDBListView, added a DataSource property to the new component. However the Columns property of TListview is by default NOT data aware. I would like to have a (design time) data aware...
  10. hansaplast

    Data aware TListView

    Hi, I want to make TListView columns data aware. I've created a new component derived from TListView called TDBListView, added a DataSource property to the new component. However the Columns property of TListview is by default NOT data aware. I would like to have a (design time) data aware...
  11. hansaplast

    AfterScroll Event in a derived class

    Hi, I'm trying to write an AfterScroll event for my TDBApp class but dunno how to implement this. I want to do someting like this in my App. // MyApp.cpp #include DBApp.h void MyApp::somefunction() { TDBApp *pDBApp = new TDBApp(NULL); // How do I implement this functionality...
  12. hansaplast

    ipfw problem

    Hi, Ok.. solved my last thread thread93-622690 But now I found something strange in the "RFC1918 nets on the outside interface" rules.. View the red line below.. When I coment out the red line all works well.. But why can't I block RFC1918 nets on the outside interface. I...
  13. hansaplast

    ipfw problem

    Hi, I'm having trouble configuring my ipfw. I want all incomming traffic to be blocked. All outgoing traffic from my network is allowed. Here's my config: # Variables EXT_IP="62.x.x.24" INT_NET="192.168.0.0/24" NATD_INTERFACE="xl0" # Fluss the rules ipfw -f...
  14. hansaplast

    How do I update members of my dynamic CRecordset

    Hi, I've created a dynamic connection to CDatabase object witch I bind to CRecordset. How do I update the fields in my recordset? NiceFunction() { CDatabase m_database; CRecordset *p_dbSet; // Create new recordset with connection to the database object p_dbSet = new...
  15. hansaplast

    URGENT! : onLoad frame updating

    Hi! i have 3 frames: top, main and bottom.. when i click on a link in the top frame a new page loades in the main frame but when he does this i would like to have an onload command that switches the page in the bottom frame to an new page, i realy need an onload script/command and not anything...
  16. hansaplast

    URGENT! : onLoad frame updating

    Hi! i have 3 frames: top, main and bottom.. when i click on a link in the top frame a new page loades in the main frame but when he does this i would like to have an onload command that switches the page in the bottom frame to an new frame, i realy need an onload script/command and not anything...
  17. hansaplast

    Truncated error MyODBC in MS Access

    Hi, I installed MyODBC in windows to access a MySQL database server. In MS Access I've created a link to the database. When I try to update a table, MySQL reports that I cannot update a table (This is fine because I do not have the rights to update a table). Access however does NOT display this...
  18. hansaplast

    Initialy hide form

    Hi, I want to initialy hide a form in Access . I do not mean: DoCmd.OpenForm "MyForm", WindowMode:=acHidden Is it possible to do this at "Form_Open"? Me.Visible = False at Form_Open doesn't work. Appreciate Any help. Thanks,
  19. hansaplast

    Initialy hide form

    Hi, I want to initialy hide a form in Access . I do not mean: DoCmd.OpenForm "MyForm", WindowMode:=acHidden Is it possible to do this at "Form_Open"? Me.Visible = False at Form_Open doesn't work. Appreciate Any help. Thanks,
  20. hansaplast

    Form Update

    Hi, I want to update a record before I move to a next one. I have an unbound field in my form where u can type a record number. The form then displays this record and a user can make changes. Below is the function I use to move to another record. This works ok. I'm using an ODBC-database on a...

Part and Inventory Search

Back
Top