Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fichiers
Recherche: 

The LittleLowerRightCorner
Frank Dietrich, Dietrich Datentechnik
With higher screen resolutions even I as a "computer-man" sometimes have problems to properly hit a form's border in the lower right corner when I want to resize it. Our VFP-forms do not have the small dotted resp. lined triangle (XP vs. Win2K-Systems) that extends the resize-sensitive area. This small class completely mimics the Windows-behaviour and tries to close this gap.
Créé le
Il y a 19 années
Téléchargements
1141
Type de fichier
Freeware
Résultat de votes
4.33/5.00
General information
Résultat de votes:
4.33/5.00 (3 rates) Évaluer cet item
Description
Upon MouseDown the class draws a black/white - checked rubber band that follows the mouse movement and uppon MouseUp resizes the form.
By default the class detects if XP-Themes are active and decides to either draw shadowed dots or lines with the system's Colors for button sun and shade. No bitmp is used, so it should work on most Color-settings. Thanks to Herman Tan who really supported me with the API-Stuff Usage: There's no documentation (yet). However all You really need to do is "throw and go", i.e. throw it on a form and run the form. The LittleLowerRightCorner is written in VFP8 With VFP7 and lower, You will need to recompile the class and add one line of Code in Your form's resize-Event:
this.ResizeCorner1.Resize
With VFP8 and higher this is not necessary as it uses BindEvent() Please tell me if You encounter problems when using The LittleLowerRightCorner with VFP7 or lower. I did not test it on that version. There are several accessable properties that allow You to tweak the appearance. You can display bigger (hollow or filled) dots, vary the number of lines etc. The comments tell you what the Property is for. But for the authentic look no interfearance is necessary have fun.
Date Version changes
2004-09-25 1.00 First Release
2004-09-27 1.01 When lAutosize = .T. the control resizes itself to Scrollbarwidth and -height
2004-09-29 1.02
  • issues fixed for form.left < 0
  • Rubber respects form's MinWidth and MinHeight-settings
  • own nMinWidth and nMinHeight properties to prevent resizing to <= 0
  • solid rubber optionally can be thick now
2004-10-26 1.03
  • Now respects BackStyle = 0 for transparency. Forms with backimages then only show the dots, not the sqare.
2005-09-30 1.04
  • Now respects visible = .T. / .F. setting and shows or hides the dots/lines.
Créé par
Frank Dietrich, Dietrich Datentechnik
FoxPro 2.5 / 2.6 since 1993 VisualFoxPro since appearance of VFP3 ActiveX, ADO, COM, ODBC...

Commentaires
Very clever and useful. I've been looking for something like this. Would it be possible to tweak it so the frame honors MinHeight and MinWidth for the form as you drag the frame's corner to resize it? Currently it does not honor MinHeight and MinWidth, and it actually lets you "invert" the frame by moving above/left of the form. Mark Frank, September 29, 2004

Yes, I will! This was just the first shot. The current version already respects MinHeight and MinWidth (at least when You let the mouse go). But I'll also add the correct behaviour while resizing. Frank Dietrich, September 29, 2004

Hi Frank. Thanks again! I've been using LittleLowerRightCorner for a year now. I think it really improves the user-friendliness of resizeable forms, and I use it with every resizeable modeless form. Still on my wish list is for it to work with modal forms. Mark Frank, October 1, 2005

Thanks for Your comment. I also still do have Your mail in my "Little Lower Right Corner" - Folder. I did not solve the Problem yet (but must admit I did not spend too much effort on that). When I did The LittleLowerRightCorner I had great help from Herman Tan, witch I desperately needed, as what's going on here, for me is hardcore-API-stuff. Problem is: modal means modal ;-). And we are actually leaving the form here and do draw in the _screen's device-Context. This is necessary as we do not only want do shrinken but also enlarge the form - at least this is what I remember... I'm getting old too. Frank Dietrich, October 2, 2005

Ajouter un commentaire
More downloads created from this member
Frank Dietrich, Dietrich Datentechnik
You use WestWind's HTML HelpBuilder (wwHelp) and always wanted to show expandable topic trees (TOC) on Your Index-, header- or other pages? You write Documentation but when the version finally is ready for shipment can't remember witch were all the cool new features and witch were the fixes that sho...
Créé le
Il y a 20 années
Téléchargements
449
Type de fichier
Frank Dietrich, Dietrich Datentechnik
Need to always display the correct icon in a TreeView, ListView etc. when dealing with files like Foo.xls or ExtraFoo.doc, just like Windows-Explorer does? Want to know name and path of the executable that is associated to SuperFoo.xml? Yes, then IconBuddy will be Your friend. It extracts large and ...
Créé le
Il y a 21 années
Téléchargements
1444
Type de fichier
Résultat de votes
5.00/5.00
Frank Dietrich, Dietrich Datentechnik
Many of us were used to COB's CEE editor extensions until we painfully realized that, with VFP 7 on the market, CEE and Intellisense are not willing to exist peacefully side by side. CEEClone now makes our macroes work again under the Intellisense-engine and "re-enables" some of the functonality we ...
Créé le
Il y a 22 années
Téléchargements
1704
Type de fichier
Résultat de votes
5.00/5.00
Frank Dietrich, Dietrich Datentechnik
This is a small Intellisense-script that creates a comma delimited field-list of any of the currently used tables and puts it right to Your cursor. real, local or no Aliases can be selected. Additionally " as " clauses using long fieldnames can be added - No more typos! Requires VFP7.
Créé le
Il y a 22 années
Téléchargements
729
Type de fichier
Résultat de votes
5.00/5.00