Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27212

VS 2008 Left() and Right() string functions

$
0
0
I want to use the Left() and Right() string functions in some code, but it is telling me this:

Public ReadOnly Property Right() As Integer' has no parameters and its return type cannot be indexed.

When I right click on either Left() or Right() with in my code and "Go to Defn", it says
Public ReadOnly Property Right() As Integer
Member of System.Windows.Forms.Control
Summary:
Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area.


So, why are there two instances of the same function? I used the Mid() function for the Left() function, but this will not work for the Right() because the string is always a different length.

thanks
adam

Viewing all articles
Browse latest Browse all 27212

Trending Articles



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