Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21744

Masks on Grid.

$
0
0
- I’ve been trying to Mask many DBGrid Cells (so Columns).

- Firstly, Inside Access, adding format, Mask & also Validation text to each Field inside the table. That’s not catched by the Grid linked to this formatted & masked table. So, by only doing that, no sort of Mask appears in my Vb DBGrid.
- Secondly, I just set the Numberformat property for each Column of the Grid either to General Number, or to Short Date (needed/used Formats). (2nd - short date format can be obviously worked out in execution time, the way: dbgrid#.columns(#).NumberFormat = “dd/mm/yyyy”). Obviously both Only give Format, NOT MASK to my Grid. I’d like to know if there’s any existent way/method to set a DbGrid’s Colum mask. I’ve tried with a Floating MaskedBox over the Grid, but apart from eventual missclicking problems (either by using _Click or _DblClick events), also gives some saving errors while using the dbgrid.

- I’d appreciate any solving Suggestion related to properly Mask Grid’s columns.



Greetings.

Viewing all articles
Browse latest Browse all 21744

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>