Author Topic: re-docking a custom made forms  (Read 1951 times)

boaz

  • Community Member
  • Posts: 43
  • Hero Points: 0
re-docking a custom made forms
« on: November 10, 2011, 10:21:17 am »
I have some custom made forms that was created docked to the bottom (where the output and preview panes are)
After accidently double clicking them I can't dock them back.
Tried some left and right clicking and dragging of the horizontal bar on the left, no good
using win7 SE 15.0.1.3

One of the problematic forms's code:
_form some_name {
   p_backcolor=0x80000005;
   p_border_style=BDS_SIZABLE;
   p_caption='some caption';
   p_clip_controls=false;
   p_forecolor=0x80000008;
   p_height=2000;
   p_width=10000;
   p_x=1600;
   p_y=1200;
   p_eventtab2=_toolbar_etab2;
   _editor LogRecord {
      p_auto_size=false;
      p_backcolor=0x80000005;
      p_border_style=BDS_FIXED_SINGLE;
      p_height=1070;
      p_scroll_bars=SB_BOTH;
      p_tab_index=1;
      p_tab_stop=true;
      p_width=5000;
      p_x=0;
      p_y=0;
      p_eventtab2=_ul2_editwin;
   }
}

chrisant

  • Senior Community Member
  • Posts: 1413
  • Hero Points: 131
Re: re-docking a custom made forms
« Reply #1 on: November 11, 2011, 12:22:26 am »
It's sometimes possible to force a form to dock in the toolbar area.  I'm pretty sure that's actually a bug -- the supported way to do that is to create a toolbar that hosts the form.  See the attached screen shot for the steps.

boaz

  • Community Member
  • Posts: 43
  • Hero Points: 0
Re: re-docking a custom made forms
« Reply #2 on: November 14, 2011, 04:29:26 pm »
I'm not sure I follow.
I've got a bunch of forms all created in the same way I described earlier.
Attaching 2 snapshots:
1. example of a docked form (with the pin and the x on the top right side)
2. example of what happens when I undock it (drag or double click) - it becomes a window that I can't dock back (trust me that it was the same as the first one before I undocked it)

what I want to do is to be able to dock these guys back

Thanks
Boaz

boaz

  • Community Member
  • Posts: 43
  • Hero Points: 0
Re: re-docking a custom made forms
« Reply #3 on: November 14, 2011, 04:35:20 pm »
GOT IT!!!!!

for future reference:
right click somewhere on the form where you get a list of all the toolbars.
remove the V next to "Floating" and it will bounce back to it's original position
pretty scketchy interface IMHO...