Hi Benjamin,
yes your code did the trick.
here is my code now:
//////////////////////////////////////////////////////////////////////////////
//
// Event:
// pfc_preopen
//
// Arguments:
// None
//
// Returns:
// None
//
// Description:
// Register with the SplitBar and Resize service.
//
//////////////////////////////////////////////////////////////////////////////
// Register the controls with the Vertical SplitBar
of_SetResize(True)
this.inv_resize.of_SetOrigSize(this.width, this.height)
st_v.of_Register(dw_1, st_v.LEFT)
st_v.of_Register(dw_2, st_v.RIGHT)
st_v.of_Register(pb_izracun_dodaj, st_v.RIGHT_ANCHORED)
st_v.of_Register(pb_izracun_BRISI, st_v.RIGHT_ANCHORED)
inv_resize.of_Register(dw_1, 0, 0, 0, 100)
inv_resize.of_Register(st_v, 0, 0, 0, 100)
inv_resize.of_Register(dw_2, 0, 0, 100, 100)
inv_resize.of_register(pb_obracun_dodaj, inv_resize.FIXEDBOTTOM)
inv_resize.of_register(pb_obracun_brisi ,inv_resize.FIXEDBOTTOM)
inv_resize.of_register(pb_izracun_dodaj, inv_resize.FIXEDBOTTOM)
inv_resize.of_register(pb_izracun_BRISI ,inv_resize.FIXEDBOTTOM)
Now buttons follow datawindows and SplitBar :
Only one problem is still there:
If I move SplitBar to much to left, right buttons goes over the buttons on left. Is it possible to limit SplitBar how much to the left is possible to move?
Regards
Tomaz
https://community.appeon.com/index.php/qna/q-a/could-anyone-use-pfc-documentation
The PFC has obviously changed since these publications were created. Still, I find this info useful - and I hope you will, also.