Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't keep button centered on window size change
#6
I'm sorry to keep coming back to this.. I have read the help file, looked at examples, read through the forum and tried everything I can think of. I just can't quite seem to grasp this for some reason.. I'm still VERY new to all this but can usually figure stuff out. For whatever reason, moving buttons so they remain where they should regardless of window size is the hardest thing for me to do... I tried the last example you gave me and about a hundred other things but a centered button on a smaller windows is always offset on a larger window. Should I be changing something in it when I do put it in my dialog? If I play with this
Code:
Copy      Help
,mov rd.right/2-(rc.right/2) rd.bottom/2-(rc.bottom/2) c
I can get most the buttons perfect, just not the ones on the right side of the screen for some reason. Is there something I can do with that? I've played with the numbers, renamed right to left, tried negatives, but nothing seems to work for me.. Is there an example of a dialog with say 2 or more buttons that re-adjust properly on windows size change that I can look at? I'm sure I'm driving you nuts with my inability to understand this.. It's just the only thing I can't seem to get and it's driving me crazy.. :oops:

Thanks & Sorry


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)